diff --git a/sanic/router.py b/sanic/router.py index f379b095..691f1388 100644 --- a/sanic/router.py +++ b/sanic/router.py @@ -353,7 +353,7 @@ class Router: """ try: handler = self.get(request)[0] - except NotFound: + except (NotFound, InvalidUsage): return False if (hasattr(handler, 'view_class') and hasattr(handler.view_class, request.method.lower())):