Skip to content

Commit 858f98c

Browse files
committed
Remove redundant except
1 parent 3a339a2 commit 858f98c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mautrix/bridge/matrix.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,6 @@ async def wait_for_connection(self) -> None:
231231
await self.check_versions()
232232
try:
233233
await self.az.intent.whoami()
234-
except (MUnknownToken, MExclusive):
235-
raise
236234
except MForbidden:
237235
self.log.debug(
238236
"Whoami endpoint returned M_FORBIDDEN, "

0 commit comments

Comments
 (0)