mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +03:00
Fix bug in the main exceptions catcher
This commit is contained in:
parent
f809557679
commit
7374d5f752
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user