mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
mvc: fix undefined $e
This commit is contained in:
parent
83e73c5825
commit
bca7574fab
@ -39,7 +39,7 @@ try {
|
||||
}
|
||||
} catch (\OPNsense\Base\UserException $e) {
|
||||
error_output(500, $e, $e->getMessage());
|
||||
} catch (\OPNsense\Mvc\Exceptions\DispatchException) {
|
||||
} catch (\OPNsense\Mvc\Exceptions\DispatchException $e) {
|
||||
error_output(404, $e, gettext('Endpoint not found'));
|
||||
} catch (\Error | \Exception $e) {
|
||||
error_output(500, $e, gettext('Unexpected error, check log for details'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user