zhaoyang hace 1 año
padre
commit
5c35eae5b9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Libs/Helpers.php

+ 1 - 1
app/Libs/Helpers.php

@@ -290,7 +290,7 @@ function dingTalkAlertException(\Throwable $exception)
     $app_path = app_path();
     $trace = $exception->getTraceAsString();
     $trace_list = preg_split('/\n/',$trace);
-    $error = '';
+    $error = '- '.$exception->getFile().':'.$exception->getLine()."\n";
     foreach($trace_list as $item){
         if( Str::contains($item,$app_path)){
             $error .= '- '.trim(preg_replace('/^(\#\d+)/','',$item))."\n";