mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
separate route permission + token manage
This commit is contained in:
@@ -101,6 +101,7 @@ class Handler extends ExceptionHandler
|
||||
if (config('app.debug')) {
|
||||
$data['trace'] = $trace;
|
||||
}
|
||||
// dd($e);
|
||||
if ($e instanceof \Error || $e instanceof \ErrorException) {
|
||||
do_log(sprintf(get_class($e) . ": %s, trace: %s", $msg, $e->getTraceAsString()), "error");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user