Skip to content

Commit 866d9e3

Browse files
authored
print backtrace
1 parent 14bd427 commit 866d9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cpython/jlwrap.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function _pyjl_serialize(self::PyPtr, ::PyPtr)
207207
catch e
208208
PyErr_SetString(
209209
POINTERS.PyExc_Exception,
210-
"error serializing this value. Caught exception $e"
210+
"error serializing this value. Caught exception $(sprint(showerror, e. catch_backtrace()))"
211211
)
212212
return PyNULL
213213
end

0 commit comments

Comments
 (0)