Skip to content

Commit

Permalink
Do return an Acc unexceptionally!
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Aug 29, 2022
1 parent 918421a commit c4b8aa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ejabberd_local.erl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ process_packet(Acc, From, To, El, _Extra) ->
catch
Class:Reason:Stacktrace ->
?LOG_ERROR(#{what => routing_error, acc => Acc,
class => Class, reason => Reason, stacktrace => Stacktrace})
class => Class, reason => Reason, stacktrace => Stacktrace}),
Acc
end.

-spec route_iq(From :: jid:jid(),
Expand Down

0 comments on commit c4b8aa1

Please sign in to comment.