From b2a3d444d36d98607cb946d8c057d90460096793 Mon Sep 17 00:00:00 2001 From: Radhi Fadlillah <m.radhi.f@gmail.com> Date: Wed, 22 May 2019 16:17:04 +0700 Subject: [PATCH] Minor fix: wrong log message --- internal/cmd/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/update.go b/internal/cmd/update.go index c29f5e1..96df8f8 100644 --- a/internal/cmd/update.go +++ b/internal/cmd/update.go @@ -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 } }