Skip to content

Commit

Permalink
Do not be so explicit with the Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Apr 9, 2024
1 parent 963ecdb commit 3c9594d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fedcloud_vm_monitoring/site_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ def get_user(self, user_id):
try:
command = ("user", "list")
all_users = self._run_command(command)
except SiteMonitorException as e:
click.secho(f"WARNING: Unable to get user list: {e}", fg="yellow")
except SiteMonitorException:
# this didn't work but it's ok
pass
try:
Expand Down

0 comments on commit 3c9594d

Please sign in to comment.