Browse Source

报错还原

zhangxiaobin 1 year ago
parent
commit
620e94a649
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/library/ExceptionHandle.php

+ 1 - 1
application/api/library/ExceptionHandle.php

@@ -13,7 +13,7 @@ class ExceptionHandle extends Handle
 
     public function render(Exception $e)
     {
-        return parent::render($e);
+        //return parent::render($e);
         $statuscode = $code = 500;
         $msg = $e->getMessage();
         // 验证异常