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());
     }
 }