diff --git a/app/dl/serve.go b/app/dl/serve.go index 21569db7e1..a575a946c8 100644 --- a/app/dl/serve.go +++ b/app/dl/serve.go @@ -80,7 +80,7 @@ func serve(ctx context.Context, } if iter.Value().Msg.GetID() != message { - return fmt.Errorf("msg may be deleted, id: %d", message) + return fmt.Errorf("the message %d/%d may be deleted", p.ID(), message) } item, err = convItem(iter.Value()) diff --git a/app/internal/dliter/iter.go b/app/internal/dliter/iter.go index 35caca9973..9d408bc6fe 100644 --- a/app/internal/dliter/iter.go +++ b/app/internal/dliter/iter.go @@ -105,7 +105,7 @@ func (iter *Iter) item(ctx context.Context, i, j int) (*downloader.Item, error) // check again to avoid deleted message if message.ID != msg { - return nil, fmt.Errorf("msg may be deleted, id: %d", msg) + return nil, fmt.Errorf("the message %d/%d may be deleted", id, msg) } item, ok := tmedia.GetMedia(message)