mirror of
https://github.com/processone/ejabberd.git
synced 2024-07-19 00:11:01 +02:00
[TECH-1068] Added missing catch in process function
This commit is contained in:
parent
49a3424a26
commit
a77d53d738
|
@ -49,7 +49,7 @@
|
|||
process([Domain | _Rest] = LocalPath, #request{auth = Auth} = Request)->
|
||||
UD = get_auth(Auth),
|
||||
Module = backend(Domain),
|
||||
case out(Module, Request, Request#request.method, LocalPath,UD) of
|
||||
case catch out(Module, Request, Request#request.method, LocalPath,UD) of
|
||||
{'EXIT', Error} ->
|
||||
?ERROR_MSG("Error while processing ~p : ~n~p", [LocalPath, Error]),
|
||||
error(500);
|
||||
|
|
Loading…
Reference in New Issue
Block a user