This commit is contained in:
Ahrav Dutta 2024-09-19 11:09:49 -07:00
parent 08c495311d
commit e2fe6e2639

View file

@ -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...)