From 0af53fb0dcfee3f9d669821ee736335014da5a28 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Wed, 16 May 2018 23:26:05 +1000 Subject: [PATCH] Print a newline after errors in the JSON UI. This makes them just a little easier to read. --- src/json_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json_ui.cc b/src/json_ui.cc index 67970a35..cc97dcc3 100644 --- a/src/json_ui.cc +++ b/src/json_ui.cc @@ -460,7 +460,7 @@ void JsonUI::parse_requests(EventMode mode) } catch (runtime_error& error) { - write(2, format("error while handling requests '{}': '{}'", + write(2, format("error while handling requests '{}': '{}'\n", m_requests, error.what())); // try to salvage request by dropping its first line pos = std::min(m_requests.end(), find(m_requests, '\n')+1);