mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +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:
|
try:
|
||||||
if webbrowser.open(issue_url):
|
if webbrowser.open(issue_url):
|
||||||
print("Browser window should be opened.")
|
print("Browser window should be opened.")
|
||||||
return
|
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print("Unable to open browser window automatically.")
|
print()
|
||||||
print("Please use this URL to file a GitHub issue:")
|
print("You can also use this URL to file the GitHub Issue:")
|
||||||
print()
|
print()
|
||||||
print(issue_url)
|
print(issue_url)
|
||||||
|
print()
|
||||||
|
print()
|
||||||
|
|
||||||
|
|
||||||
def exception_handler(exc_type, exc_value, exc_traceback):
|
def exception_handler(exc_type, exc_value, exc_traceback):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue