Skip to content

Commit ebc1b4f

Browse files
authored
Merge pull request #87 from sadit/master
replaces backtrace with catch_backtrace in src/APIResponder.jl:100 to…
2 parents c99f10e + 4bf545b commit ebc1b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/APIResponder.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function call_api(api::APISpec, conn::APIResponder, args, data::Dict{Symbol,Any}
9797
result = dynamic_invoke(conn, api.fn, args...; data...)
9898
respond(conn, api, :success, result)
9999
catch ex
100-
@error("api_exception", exception=(ex, backtrace()))
100+
@error("api_exception", exception=(ex, catch_backtrace()))
101101
respond(conn, api, :api_exception, string(ex))
102102
end
103103
end

0 commit comments

Comments
 (0)