mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#4724 demand not work
This commit is contained in:
parent
c1df588b10
commit
271d28f2b9
@ -80,7 +80,12 @@ class ExceptionHandler extends Handler
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($e instanceof Swift_TransportException) {
|
if ($e instanceof Swift_TransportException) {
|
||||||
die(trans('visiosoft.theme.base::message.error_mail'));
|
echo json_encode([
|
||||||
|
'success' => false,
|
||||||
|
'msg' => trans('visiosoft.theme.base::message.error_mail'),
|
||||||
|
]);
|
||||||
|
|
||||||
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
parent::report($e);
|
parent::report($e);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user