From 0caa1f00a6ad0276b91bb47ce876808ee594b887 Mon Sep 17 00:00:00 2001 From: AviKav Date: Tue, 14 Jul 2020 03:56:16 -0400 Subject: [PATCH] Add info to bad mimetype log entry and change spelling --- src/main/kotlin/mdnet/base/server/ImageServer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/base/server/ImageServer.kt b/src/main/kotlin/mdnet/base/server/ImageServer.kt index 7208a1a..8466cb7 100644 --- a/src/main/kotlin/mdnet/base/server/ImageServer.kt +++ b/src/main/kotlin/mdnet/base/server/ImageServer.kt @@ -234,7 +234,7 @@ class ImageServer( contentType!! 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() return Response(mdResponse.status) }