Add parameter check
This commit is contained in:
parent
f20b854dd2
commit
040c85a43b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user