Skip to content

Commit

Permalink
fix: remove too large debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
takumakume committed Sep 19, 2023
1 parent 05f4834 commit 212aa5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func uploadFunc(ctx context.Context, u uploader.Uploader) http.HandlerFunc {
http.Error(w, err.Error(), http.StatusBadRequest)
return
}
log.Printf("DEBUG: server.uploadFunc: request body: %s\n", string(body))
if err := u.Run(ctx, body); err != nil {
log.Printf("ERROR: server.uploadFunc: upload failed: %s\n", err.Error())
http.Error(w, err.Error(), http.StatusInternalServerError)
Expand Down

0 comments on commit 212aa5c

Please sign in to comment.