This commit is contained in:
parent
7f76385580
commit
abf36f51cc
|
|
@ -42,6 +42,7 @@ class MyExceptionHandle extends ExceptionHandler implements ExceptionHandlerInte
|
||||||
{
|
{
|
||||||
if (!($exception instanceof MyBusinessException)) {
|
if (!($exception instanceof MyBusinessException)) {
|
||||||
Log::error("捕获到全局异常,异常类,".$exception::class." 异常信息: ".$exception->getMessage());
|
Log::error("捕获到全局异常,异常类,".$exception::class." 异常信息: ".$exception->getMessage());
|
||||||
|
Log::error("异常URL-------->>>," .$request->url());
|
||||||
if (!($exception instanceof SysException)) {
|
if (!($exception instanceof SysException)) {
|
||||||
Log::error($exception->getTraceAsString());
|
Log::error($exception->getTraceAsString());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue