Skip to content

Commit

Permalink
fix: Do not catch system exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gteufelberger committed Dec 27, 2024
1 parent 398d451 commit ec399dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vo-scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ def check_update():
)
else:
raise Exception # We couldn't get the file for some reason
except:
except Exception:
# Update check failed
print_information("Update check failed, skipping...", type="warning")
# Note: We don't want the scraper to fail because it couldn't check for a new version so we continue regardless
Expand Down

0 comments on commit ec399dd

Please sign in to comment.