summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2018-05-16 23:26:05 +1000
committerTim Allen <screwtape@froup.com>2018-05-16 23:26:05 +1000
commit0af53fb0dcfee3f9d669821ee736335014da5a28 (patch)
treef4f17875eb8ea3fb14ab1e34083ab17e165e33d6 /src
parent7325ad216cbecb0d14fdee40cef7cca3e39f8513 (diff)
Print a newline after errors in the JSON UI.
This makes them just a little easier to read.
Diffstat (limited to 'src')
-rw-r--r--src/json_ui.cc2
1 files changed, 1 insertions, 1 deletions
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);