Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Sep 19, 2024
1 parent 08c4953 commit e2fe6e2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkg/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,7 @@ func HandleFile(
ctx.Logger().Error(err, "error getting file size")
}

ctx = logContext.WithValues(
ctx,
"mime", rdr.mime.String(),
"format", rdr.format.Name(),
"size_bytes", size,
)
ctx = logContext.WithValues(ctx, "mime", rdr.mime.String(), "size_bytes", size)

mimeT := mimeType(rdr.mime.String())
config := newFileHandlingConfig(options...)
Expand Down

0 comments on commit e2fe6e2

Please sign in to comment.