diff --git a/src/masonite/providers/RouteProvider.py b/src/masonite/providers/RouteProvider.py index 81e1e662..67743d3b 100644 --- a/src/masonite/providers/RouteProvider.py +++ b/src/masonite/providers/RouteProvider.py @@ -56,6 +56,7 @@ def boot(self): else: response.view(data) except Exception as e: + response.status(500) exception = e self.application.make("middleware").run_route_middleware(