From: Gunnar Beutner Date: Tue, 28 Jul 2015 12:40:44 +0000 (+0200) Subject: Improve error messages a bit X-Git-Tag: v2.4.0~473 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fc1d6d0d0e842649f750ae18af2c4f720ccca79;p=icinga2 Improve error messages a bit refs #9077 --- diff --git a/lib/remote/httpconnection.cpp b/lib/remote/httpconnection.cpp index 7c29c10f3..8dec67b06 100644 --- a/lib/remote/httpconnection.cpp +++ b/lib/remote/httpconnection.cpp @@ -90,7 +90,7 @@ bool HttpConnection::ProcessMessage(void) } catch (const std::exception& ex) { HttpResponse response(m_Stream, m_CurrentRequest); response.SetStatus(400, "Bad request"); - String msg = "

Bad request

" + DiagnosticInformation(ex) + "

"; + String msg = "

Bad request

" + DiagnosticInformation(ex) + "

"; response.WriteBody(msg.CStr(), msg.GetLength()); response.Finish();