Skip to content

Commit

Permalink
fix: Only catch keyboard interrupt
Browse files Browse the repository at this point in the history
instead of all exceptions
  • Loading branch information
gteufelberger committed Dec 27, 2024
1 parent cc84895 commit 5dca66f
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 @@ -848,7 +848,7 @@ def report_bug():
try:
input("Press enter to open the link in your browser or Ctrl+C to exit.")
webbrowser.open(github_issue_page)
except:
except KeyboardInterrupt:
print()
print_information("Exiting...")
sys.exit(0)
Expand Down

0 comments on commit 5dca66f

Please sign in to comment.