exception이 trace 수정하도록 임시 수정
This commit is contained in:
@@ -82,6 +82,7 @@ function logExceptionByCustomHandler(\Throwable $e){
|
|||||||
], Json::PRETTY);
|
], Json::PRETTY);
|
||||||
|
|
||||||
file_put_contents(ROOT.'/d_log/err_log.txt',"$data\n", FILE_APPEND);
|
file_put_contents(ROOT.'/d_log/err_log.txt',"$data\n", FILE_APPEND);
|
||||||
|
echo $e->getTraceAsString();
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
set_exception_handler('\\sammo\\logExceptionByCustomHandler');
|
set_exception_handler('\\sammo\\logExceptionByCustomHandler');
|
||||||
Reference in New Issue
Block a user