From 3673feb25622498829b23131a744af939ad162c9 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 5 Oct 2018 16:33:46 +0200 Subject: [PATCH] fix: typo --- sanic/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/handlers.py b/sanic/handlers.py index b8c7ded0..ac4c28f1 100644 --- a/sanic/handlers.py +++ b/sanic/handlers.py @@ -79,7 +79,7 @@ class ErrorHandler: response = None try: if handler: - response = handler(req, exception) + response = handler(request, exception) if response is None: response = self.default(request, exception) except Exception: