Skip to content

Commit

Permalink
Do not exit if one service fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Jun 5, 2024
1 parent 16c29d4 commit ede01e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bugme.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ def get_clients(
cls = guess_service(host)
if cls is None:
logging.error("Unknown: %s", host)
sys.exit(1)
clients[host] = cls(host, creds.get(host, {}))
else:
clients[host] = cls(host, creds.get(host, {}))

if len(clients) == 0:
sys.exit(0)
sys.exit(1)
return clients


Expand Down

0 comments on commit ede01e3

Please sign in to comment.