Merge remote-tracking branch 'origin/master'

This commit is contained in:
张松 2025-08-18 16:32:14 +08:00
commit 05b432b981
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());
}