From 98d588e8ef30852ac43b4de56eeacebfc4236045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Milo=C5=A1evi=C4=87?= Date: Mon, 8 Apr 2019 13:44:11 +0200 Subject: [PATCH] NOISSUE - Remove debugging message from response of handle error function (#696) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove debugging message from response of handle error function Signed-off-by: Ivan Milošević * Print error in debug console in case of bad body HTTP response Signed-off-by: Ivan Milošević --- ui/src/Error.elm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/src/Error.elm b/ui/src/Error.elm index 612d92b5..a9c0d7f1 100644 --- a/ui/src/Error.elm +++ b/ui/src/Error.elm @@ -6,6 +6,7 @@ module Error exposing (handle) +import Debug import Http @@ -25,4 +26,8 @@ handle error = "Bad status: " ++ String.fromInt code Http.BadBody err -> - err + let + _ = + Debug.log "Bad body error: " err + in + "Invalid response body"