Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/error_handling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ function handle_exceptions(exceptions::Vector, action)
end
end

handle_error(e, q, bt) = throw(CapturedException(e, trim!(stacktrace(bt))))
function handle_error(e, q, bt)
if VERSION >= v"1.13.0-DEV.927"
throw(CapturedException(e, bt))
else
throw(CapturedException(e, trim!(stacktrace(bt))))
end
end

function trim!(sfs)
i = firstindex(sfs)
Expand Down
Loading