From 03024eaaf1f1eb25b219e8366d7017b843d76b34 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 29 Aug 2024 10:07:22 -0700 Subject: [PATCH] refactor: improve GitHub issue reporting process and output formatting --- aider/report.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/aider/report.py b/aider/report.py index 5598d6e70..1a3472b7f 100644 --- a/aider/report.py +++ b/aider/report.py @@ -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):