Skip to content

Commit

Permalink
Fix typo in routes docs (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Feb 8, 2024
1 parent 2c51d97 commit 2aba41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -164,4 +164,4 @@ app.remove_server_name("*.google.*")

```

### Next [Middlewares](middlewares.md)
### Next [Middlewares](middlewares.md)

0 comments on commit 2aba41f

Please sign in to comment.