This commit is contained in:
ASUS 2025-08-18 15:28:50 +08:00
parent 7f76385580
commit abf36f51cc
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class MyExceptionHandle extends ExceptionHandler implements ExceptionHandlerInte
{
if (!($exception instanceof MyBusinessException)) {
Log::error("捕获到全局异常,异常类,".$exception::class." 异常信息: ".$exception->getMessage());
Log::error("异常URL-------->>>," .$request->url());
if (!($exception instanceof SysException)) {
Log::error($exception->getTraceAsString());
}