Skip to content

Commit

Permalink
chore(downloader): print error when aborted
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Oct 8, 2023
1 parent 3c1f718 commit a63b68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (d *Downloader) Download(ctx context.Context, limit int) error {
}

if errors.Is(err, context.Canceled) {
color.Red("Download aborted.")
color.Red("Download aborted: %v", err)
}
return err
}
Expand Down

0 comments on commit a63b68a

Please sign in to comment.