Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions juju/client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def status(self):
)

if stopped or not connection._ws.open:
raise BaseException("FIXME just testing not open")
return self.ERROR

# everything is fine!
Expand Down Expand Up @@ -358,6 +359,7 @@ async def close(self, to_reconnect: bool = False):
self._debug_log_task.cancel()

if self._ws and not self._ws.closed:
raise BaseException("FIXME just testing two")
await self._ws.close()

if not to_reconnect:
Expand Down