feat: enhance GitHub issue reporting functionality

This commit is contained in:
Paul Gauthier 2024-09-04 10:14:25 -07:00 committed by Paul Gauthier (aider)
parent 7598f883f5
commit 75c27a5dfb
2 changed files with 10 additions and 8 deletions

View file

@ -74,12 +74,10 @@ def report_github_issue(issue_text, title=None, confirm=True):
if not yes:
return
if confirm:
print("Attempting to open the issue URL in your default web browser...")
print("Attempting to open the issue URL in your default web browser...")
try:
if webbrowser.open(issue_url):
if confirm:
print("Browser window should be opened.")
print("Browser window should be opened.")
except Exception:
pass