diff --git a/docs/routes.md b/docs/routes.md index 69ca7ce..e06e446 100644 --- a/docs/routes.md +++ b/docs/routes.md @@ -102,7 +102,7 @@ async def async_xablau(res, req): # this can be async no problems def on_error(error, res, req): # here you can log properly the error and do a pretty response to your clients - print("Somethind goes %s" % str(error)) + print("Something goes %s" % str(error)) # response and request can be None if the error is in an async function if res != None: # if response exists try to send something @@ -164,4 +164,4 @@ app.remove_server_name("*.google.*") ``` -### Next [Middlewares](middlewares.md) \ No newline at end of file +### Next [Middlewares](middlewares.md)