mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-29 10:02:57 +03:00
Write the hook parameter in the debug buffer on error in hook
This commit is contained in:
parent
757bbe9e56
commit
55ee6f970e
@ -76,8 +76,8 @@ void HookManager::run_hook(StringView hook_name,
|
||||
catch (runtime_error& err)
|
||||
{
|
||||
hook_error = true;
|
||||
write_to_debug_buffer(format("error running hook {}/{}: {}",
|
||||
hook_name, hook.key, err.what()));
|
||||
write_to_debug_buffer(format("error running hook {}({})/{}: {}",
|
||||
hook_name, param, hook.key, err.what()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user