From a77d53d738c411a856a5917fb686789a6831f8ae Mon Sep 17 00:00:00 2001 From: Eric Cestari Date: Wed, 8 Sep 2010 17:25:37 +0200 Subject: [PATCH] [TECH-1068] Added missing catch in process function --- src/web/pshb_http.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/pshb_http.erl b/src/web/pshb_http.erl index 20f472812..47efa0fc6 100644 --- a/src/web/pshb_http.erl +++ b/src/web/pshb_http.erl @@ -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);