Skip to content

Commit

Permalink
chore(dliter): better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed May 24, 2023
1 parent 71bda2c commit 32dcd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/internal/dliter/iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (iter *Iter) item(ctx context.Context, i, j int) (*downloader.Item, error)

item, ok := tmedia.GetMedia(message)
if !ok {
return nil, fmt.Errorf("can not get item info: %d/%d",
return nil, fmt.Errorf("can not get media from %d/%d message",
id, message.ID)
}

Expand Down

0 comments on commit 32dcd7d

Please sign in to comment.