Commit 4bc01253 by feixiang

错误解析

parent abb0c625
...@@ -26,10 +26,15 @@ class ExceptionParseData ...@@ -26,10 +26,15 @@ class ExceptionParseData
$data['errorCode'] = -1; $data['errorCode'] = -1;
$data['file'] = $e->getFile().' '.$e->getLine(); $data['file'] = $e->getFile().' '.$e->getLine();
$data['path'] = ['Service:'.APP_NAME.$e->getFile().' '.$e->getLine()]; $data['path'] = ['Service:'.APP_NAME.$e->getFile().' '.$e->getLine()];
if ( is_callable([$e, 'getErrcode']) ) {
$data['errorCode'] = $e->getErrcode();
}
} }
return $data; return $data;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment