Skip to content

Commit dc7e159

Browse files
authored
Merge pull request #215 from JuliaDiff/ox/errors
include backtrace in error message from on_new_rule hook failure
2 parents 95e094e + bfec30f commit dc7e159

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRulesCore"
22
uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
3-
version = "0.9.7"
3+
version = "0.9.8"
44

55
[deps]
66
MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221"

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)