style(log): saas s3 upload error log (#1966)

This commit is contained in:
future-ryunosuketanai
2024-06-17 17:37:49 +09:00
committed by GitHub
parent 1e82e04991
commit ad4f66d551
2 changed files with 2 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ func (w S3Writer) putObject(svc *s3.Client, k string, b []byte, gzip bool) error
if _, err := svc.PutObject(context.TODO(), putObjectInput); err != nil {
return xerrors.Errorf("Failed to upload data to %s/%s, err: %w",
w.S3Bucket, k, err)
w.S3Bucket, path.Join(w.S3ResultsDir, k), err)
}
return nil
}