mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-08 00:34:42 +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);
|
return new Response('Not Found', 404);
|
||||||
} catch (MethodNotAllowedException $e) {
|
} catch (MethodNotAllowedException $e) {
|
||||||
return new Response('Method Not Allowed', 405);
|
return new Response('Method Not Allowed', 405);
|
||||||
} catch (Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return new Response('Internal Server Error', 500);
|
return new Response('Internal Server Error', 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user