mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
refactor: improve GitHub issue reporting process and output formatting
This commit is contained in:
parent
bc67123b48
commit
03024eaaf1
1 changed files with 4 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue