Add info to bad mimetype log entry and change spelling

This commit is contained in:
AviKav 2020-07-14 03:56:16 -04:00
parent 3558b5ad50
commit 0caa1f00a6
No known key found for this signature in database
GPG key ID: 7BC4B96BC8A7167D

View file

@ -234,7 +234,7 @@ class ImageServer(
contentType!! contentType!!
if (!contentType.isImage()) { if (!contentType.isImage()) {
LOGGER.trace { "Upstream query for $sanitizedUri returned bad mime-type" } LOGGER.trace { "Upstream query for $sanitizedUri returned bad mime-type $contentType" }
mdResponse.close() mdResponse.close()
return Response(mdResponse.status) return Response(mdResponse.status)
} }