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)
|
catch (runtime_error& err)
|
||||||
{
|
{
|
||||||
hook_error = true;
|
hook_error = true;
|
||||||
write_to_debug_buffer(format("error running hook {}/{}: {}",
|
write_to_debug_buffer(format("error running hook {}({})/{}: {}",
|
||||||
hook_name, hook.key, err.what()));
|
hook_name, param, hook.key, err.what()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user