mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: Add exception reporting and test error in main function
This commit is contained in:
parent
945eb04010
commit
f6020f283c
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ def report_uncaught_exceptions():
|
|||
|
||||
|
||||
def main():
|
||||
report_uncaught_exceptions()
|
||||
raise ValueError("boo")
|
||||
|
||||
title = None
|
||||
if len(sys.argv) > 2:
|
||||
# Use the first command-line argument as the title and the second as the issue text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue