Ensure we have an EOL after error messages

This commit is contained in:
Maxime Coste 2016-12-20 12:49:05 +00:00
parent 26e1caef7b
commit fdb2d83ea1

View File

@ -880,12 +880,12 @@ int main(int argc, char* argv[])
} }
catch (Kakoune::exception& error) 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; return -1;
} }
catch (std::exception& error) 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; return -1;
} }
catch (...) catch (...)