summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2016-12-20 12:49:05 +0000
committerMaxime Coste <mawww@kakoune.org>2016-12-20 12:49:05 +0000
commitfdb2d83ea10ccfde03c61d571fa7bc64fc96406e (patch)
tree950f1498270a7b1db83b25236dae903613649c7a /src/main.cc
parent26e1caef7b855ccd45655988f0114bfc513bf08b (diff)
Ensure we have an EOL after error messages
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 1af54935..82b1c496 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -880,12 +880,12 @@ int main(int argc, char* argv[])
}
catch (Kakoune::exception& error)
{
- write_stderr(format("uncaught exception ({}):\n{}", typeid(error).name(), error.what()));
+ write_stderr(format("uncaught exception ({}):\n{}\n", typeid(error).name(), error.what()));
return -1;
}
catch (std::exception& error)
{
- write_stderr(format("uncaught exception ({}):\n{}", typeid(error).name(), error.what()));
+ write_stderr(format("uncaught exception ({}):\n{}\n", typeid(error).name(), error.what()));
return -1;
}
catch (...)