diff --git a/ably/realtime/connectionmanager.py b/ably/realtime/connectionmanager.py index 8696b8cd..e31ae25e 100644 --- a/ably/realtime/connectionmanager.py +++ b/ably/realtime/connectionmanager.py @@ -44,7 +44,7 @@ def __init__(self, realtime: AblyRealtime, initial_state): def enact_state_change(self, state: ConnectionState, reason: Optional[AblyException] = None) -> None: current_state = self.__state - log.info(f'ConnectionManager.enact_state_change(): {current_state} -> {state}') + log.info(f'ConnectionManager.enact_state_change(): {current_state} -> {state}; reason = {reason}') self.__state = state if reason: self.__error_reason = reason