Skip to content

Commit c6979e8

Browse files
committed
Clean up AppServiceServerMixin
1 parent cb26030 commit c6979e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mautrix/appservice/as_handler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ def register_routes(self, app: web.Application) -> None:
8686
app.router.add_route("GET", "/_matrix/app/v1/rooms/{alias}", self._http_query_alias)
8787
app.router.add_route("GET", "/_matrix/app/v1/users/{user_id}", self._http_query_user)
8888
app.router.add_route("POST", "/_matrix/app/v1/ping", self._http_ping)
89-
app.router.add_route("POST", "/_matrix/app/unstable/fi.mau.msc2659/ping", self._http_ping)
9089

9190
def _check_token(self, request: web.Request) -> bool:
9291
try:
@@ -301,7 +300,7 @@ async def handle_transaction(
301300
else:
302301
try:
303302
await self.to_device_handler(td)
304-
except:
303+
except Exception:
305304
self.log.exception("Exception in Matrix to-device event handler")
306305
if device_lists and self.device_list_handler:
307306
try:

0 commit comments

Comments
 (0)