diff --git a/spiderweb/middleware/base.py b/spiderweb/middleware/base.py index 4fc5677..0cf3b00 100644 --- a/spiderweb/middleware/base.py +++ b/spiderweb/middleware/base.py @@ -28,3 +28,6 @@ class SpiderwebMiddleware: self, request: Request, response: HttpResponse ) -> HttpResponse | None: pass + + def on_error(self, request: Request, e: Exception) -> HttpResponse | None: + pass \ No newline at end of file