From 8fc1d6d0d0e842649f750ae18af2c4f720ccca79 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 28 Jul 2015 14:40:44 +0200 Subject: [PATCH] Improve error messages a bit refs #9077 --- lib/remote/httpconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.40.0