Add info to bad mimetype log entry and change spelling
This commit is contained in:
parent
3558b5ad50
commit
0caa1f00a6
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue