Skip to content

Commit 477a6ff

Browse files
committed
include backtrace in error message from on_new_rule hook failure
1 parent 0f99c6b commit 477a6ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ruleset_loading.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ function _safe_hook_fun(hook_fun, sig)
136136
try
137137
hook_fun(sig)
138138
catch err
139-
@error "Error triggering hook" hook_fun sig exception=err
139+
@error "Error triggering hook" hook_fun sig exception=(err, catch_backtrace())
140140
end
141141
end

0 commit comments

Comments
 (0)