From 040c85a43b7d6b09121b32a90056efd154d15f87 Mon Sep 17 00:00:00 2001 From: howie6879 Date: Wed, 24 Jan 2018 08:11:47 +0800 Subject: [PATCH] Add parameter check --- sanic/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/app.py b/sanic/app.py index dcdf443c..eefcfc23 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -155,7 +155,7 @@ class Sanic: return handler else: raise ValueError( - 'Required parameter `request` missing in the {0}()'.format( + 'Required parameter `request` missing in the {0}() route?'.format( handler.__name__)) return response