Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
Print the key that paddle fails to fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstoick committed May 24, 2018
1 parent ac49add commit 8c2b0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/data/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 8c2b0eb

Please sign in to comment.