From 73ecbdbc97f422e67ef1da9972ba7b357fa3ca12 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 4 Jun 2017 08:48:23 +0100 Subject: [PATCH] Log errors written to the status line inside the debug buffer as well Fixes #1410 --- src/client.cc | 1 + 1 file changed, 1 insertion(+) 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()); }