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

@@ -133,7 +133,7 @@ func (w Writer) Write(rs ...models.ScanResult) error {
}
if _, err := svc.PutObject(ctx, putObjectInput); err != nil {
return xerrors.Errorf("Failed to upload data to %s/%s, err: %w",
tempCredential.S3Bucket, s3Key, err)
tempCredential.S3Bucket, path.Join(tempCredential.S3ResultsDir, s3Key), err)
}
}
logging.Log.Infof("done")