Skip to content

Commit

Permalink
Fixup otp25
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomanfrin committed Jan 25, 2023
1 parent 4e0931c commit f88a3ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/soap_server_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ handle_message(Message, Soap_req) ->
{ok, SoapReq2, _Tail} ->
soap_req:http_response(SoapReq2)
catch
Class:Reason ->
Class:Reason:Stacktrace ->
Soap_error =
case {Class, Reason} of
{throw, #soap_error{}} ->
Reason;
{_, _} ->
#soap_error{type = client,
class = Class,
stacktrace = erlang:get_stacktrace(),
stacktrace = Stacktrace,
reason = Reason,
handler = Handler,
handler_state = Handler_state,
Expand Down

0 comments on commit f88a3ed

Please sign in to comment.