Commit 4bc01253 by feixiang

错误解析

parent abb0c625
......@@ -26,6 +26,11 @@ class ExceptionParseData
$data['errorCode'] = -1;
$data['file'] = $e->getFile().' '.$e->getLine();
$data['path'] = ['Service:'.APP_NAME.$e->getFile().' '.$e->getLine()];
if ( is_callable([$e, 'getErrcode']) ) {
$data['errorCode'] = $e->getErrcode();
}
}
return $data;
......
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