zhaoyang 1 年間 前
コミット
5c35eae5b9
1 ファイル変更1 行追加1 行削除
  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";