Skip to content

Commit

Permalink
Fix failed counter
Browse files Browse the repository at this point in the history
  • Loading branch information
xchwarze committed Nov 6, 2024
1 parent 0d51e85 commit cc5ea98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/UpdateManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ def handle_tool_updates(self, updater, update_list):
try:
updater.update(tool)
except Exception as exception:
failed_updates += 1
logging.info(exception)

logging.info(colorama.Fore.YELLOW + f"\n[*] Update process completed: {total_updates - failed_updates} succeeded, {failed_updates} failed out of {total_updates} total updates.")
Expand Down

0 comments on commit cc5ea98

Please sign in to comment.