mirror of
https://github.com/maubot/maubot
synced 2025-09-07 22:00:39 +00:00
Fix minor things in management API
This commit is contained in:
parent
fd5672b3dd
commit
b52766ab1e
2 changed files with 5 additions and 3 deletions
|
@ -39,7 +39,6 @@ async def error(request: web.Request, handler: Handler) -> web.Response:
|
|||
try:
|
||||
return await handler(request)
|
||||
except web.HTTPException as ex:
|
||||
print(ex)
|
||||
if ex.status_code == 404:
|
||||
return resp.path_not_found
|
||||
elif ex.status_code == 405:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue