zilong 4 年之前
父节点
当前提交
fe88ed8809
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Exceptions/Handler.php

+ 1 - 1
app/Exceptions/Handler.php

xqd
@@ -61,6 +61,6 @@ class Handler extends ExceptionHandler
             }
         }
 
-        return parent::render($request, $exception);
+        return out(null, 500, $exception->getMessage());
     }
 }