feat: Add exception reporting and test error in main function

This commit is contained in:
Paul Gauthier 2024-08-29 09:16:31 -07:00 committed by Paul Gauthier (aider)
parent 945eb04010
commit f6020f283c

View file

@ -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