Skip to content

Commit a4ece9a

Browse files
Acconutluckycatx
andcommitted
handler: Avoid duplicate log of upload ID
Closes #1146 Co-Authored-By: Lucky <[email protected]>
1 parent 57d06cf commit a4ece9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/handler/unrouted_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ func (handler *UnroutedHandler) PostFile(w http.ResponseWriter, r *http.Request)
396396

397397
handler.Metrics.incUploadsCreated()
398398
c.log = c.log.With("id", id)
399-
c.log.Info("UploadCreated", "id", id, "size", size, "url", url)
399+
c.log.Info("UploadCreated", "size", size, "url", url)
400400

401401
if handler.config.NotifyCreatedUploads {
402402
handler.CreatedUploads <- newHookEvent(c, info)

0 commit comments

Comments
 (0)