From d5c900a7cc2a6631628c1c1ce4a27013f5c46044 Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Thu, 17 Oct 2024 00:51:26 +0100 Subject: [PATCH] fix: Clean up S3 migration code by removing unnecessary blank lines and improving logging messages --- api/daily/common.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/daily/common.go b/api/daily/common.go index 056aeb3..637d134 100644 --- a/api/daily/common.go +++ b/api/daily/common.go @@ -159,6 +159,7 @@ func S3SaveMigration() error { Key: aws.String(username), Body: bytes.NewReader(json), }) + if err != nil { log.Printf("error while saving data in S3 for user %s: %s", username, err) continue