refactor: improve GitHub issue reporting process and output formatting

This commit is contained in:
Paul Gauthier 2024-08-29 10:07:22 -07:00 committed by Paul Gauthier (aider)
parent bc67123b48
commit 03024eaaf1

View file

@ -40,15 +40,16 @@ def report_github_issue(issue_text, title=None):
try:
if webbrowser.open(issue_url):
print("Browser window should be opened.")
return
except Exception:
pass
print()
print("Unable to open browser window automatically.")
print("Please use this URL to file a GitHub issue:")
print()
print("You can also use this URL to file the GitHub Issue:")
print()
print(issue_url)
print()
print()
def exception_handler(exc_type, exc_value, exc_traceback):