Fix typo in routes docs (#165)

main
Dominik Moritz 2024-02-08 14:29:07 -08:00 zatwierdzone przez GitHub
rodzic 2c51d97097
commit 2aba41ff7b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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)
### Next [Middlewares](middlewares.md)