浏览代码

Merge branch 'feature-wechat' of qk:zy_duanju/duanju_manage into test

admin 1 年之前
父节点
当前提交
f5b6ad567d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Libs/Helpers.php

+ 1 - 1
app/Libs/Helpers.php

@@ -442,7 +442,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";