Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ pytestdebug.log
.vscode/
deb_dist
*.tar.gz
.idea/
3 changes: 2 additions & 1 deletion juju/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,8 @@ async def _watcher(stop_event):
try:
results = await utils.run_with_interrupt(
watcher.Next(),
stop_event)
stop_event,
log=log)
except JujuAPIError as e:
if 'watcher was stopped' not in str(e):
raise
Expand Down
3 changes: 2 additions & 1 deletion juju/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,8 @@ async def _all_watcher():
try:
results = await utils.run_with_interrupt(
allwatcher.Next(),
self._watch_stopping)
self._watch_stopping,
log=log)
except JujuAPIError as e:
if 'watcher was stopped' not in str(e):
raise
Expand Down