Log errors written to the status line inside the debug buffer as well
Fixes #1410
This commit is contained in:
parent
261e0fabcc
commit
73ecbdbc97
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user