11
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user