diff --git a/src/ejabberd_http.erl b/src/ejabberd_http.erl index 03f567582..f29f36063 100644 --- a/src/ejabberd_http.erl +++ b/src/ejabberd_http.erl @@ -378,7 +378,7 @@ process(Handlers, Request) -> ?ERROR_MSG( "HTTP handler crashed: ~s", [misc:format_exception(2, Class, Reason, ?EX_STACK(Stack))]), - erlang:raise(Class, Reason, Stack) + erlang:raise(Class, Reason, ?EX_STACK(Stack)) end end, ejabberd_hooks:run(http_request_debug, [{LocalPath, Request}]),