summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cc b/src/client.cc
index 7389b224..aea878c0 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -92,6 +92,7 @@ bool Client::process_pending_inputs()
}
catch (Kakoune::runtime_error& error)
{
+ write_to_debug_buffer(format("Error: {}", error.what()));
context().print_status({ error.what().str(), get_face("Error") });
context().hooks().run_hook("RuntimeError", error.what(), context());
}