Skip to content

Commit

Permalink
chore: add uploading URL logger
Browse files Browse the repository at this point in the history
  • Loading branch information
chuang8511 committed Nov 19, 2024
1 parent 36280f1 commit 58b1344
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blobstorage/blobstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func UploadFile(ctx context.Context, logger *zap.Logger, uploadURL string, data
logger.Error("Failed to upload file to MinIO",
zap.Binary("body", body),
zap.Int("status", resp.StatusCode),
zap.String("Uploading URL", uploadURL),
zap.Error(err),
)
return err
Expand Down

0 comments on commit 58b1344

Please sign in to comment.