From 8c2b0eb1941409ed298c7ccf9ff7e7075da8f725 Mon Sep 17 00:00:00 2001 From: Stoica Alex Date: Thu, 24 May 2018 16:07:13 +0200 Subject: [PATCH] Print the key that paddle fails to fetch --- cli/data/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/data/get.go b/cli/data/get.go index e601827..cea7883 100644 --- a/cli/data/get.go +++ b/cli/data/get.go @@ -163,7 +163,7 @@ func getObject(s3Client *s3.S3, bucket *string, key *string) (*s3.GetObjectOutpu } else { retries-- if retries > 0 { - fmt.Printf("Error fetching from S3: %s; will retry in %v... \n", err.Error(), s3RetriesSleep) + fmt.Printf("Error fetching from S3: %s, (%s); will retry in %v... \n", *key, err.Error(), s3RetriesSleep) time.Sleep(s3RetriesSleep) } }