Fix bug in the main exceptions catcher

This commit is contained in:
Dmitriy Simushev 2014-05-07 09:16:09 +00:00
parent f809557679
commit 7374d5f752

View File

@ -87,7 +87,7 @@ class Application
return new Response('Not Found', 404);
} catch (MethodNotAllowedException $e) {
return new Response('Method Not Allowed', 405);
} catch (Exception $e) {
} catch (\Exception $e) {
return new Response('Internal Server Error', 500);
}