|
@@ -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";
|