Improve room join error handling
This commit is contained in:
parent
22c5b46af0
commit
606d797cc0
1 changed files with 4 additions and 1 deletions
|
@ -78,6 +78,9 @@ class Callbacks(object):
|
|||
attempt, result.message,
|
||||
)
|
||||
else:
|
||||
logger.info(f"Joined {room.room_id}")
|
||||
break
|
||||
else:
|
||||
logger.error("Unable to join room: %s", room.room_id)
|
||||
|
||||
# Successfully joined room
|
||||
logger.info(f"Joined {room.room_id}")
|
||||
|
|
Loading…
Reference in a new issue