Minor fix: wrong log message

This commit is contained in:
Radhi Fadlillah 2019-05-22 16:17:04 +07:00
parent 9a9baf9f91
commit b2a3d444d3

View file

@ -162,7 +162,7 @@ func updateHandler(cmd *cobra.Command, args []string) {
err = downloadFile(imageURL, imgPath, time.Minute)
if err != nil {
cError.Printf("Failed to download image: %v\n", err)
cError.Printf("[ %d / %d ] Failed to download image: %v\n", i+1, nData, err)
return
}
}