mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
refactor: nest ValueError raise in three dummy functions
This commit is contained in:
parent
d1c4bb7491
commit
2ab8b99849
1 changed files with 8 additions and 1 deletions
|
@ -114,10 +114,17 @@ def report_uncaught_exceptions():
|
|||
sys.excepthook = exception_handler
|
||||
|
||||
|
||||
def dummy_function1():
|
||||
def dummy_function2():
|
||||
def dummy_function3():
|
||||
raise ValueError("boo")
|
||||
dummy_function3()
|
||||
dummy_function2()
|
||||
|
||||
def main():
|
||||
report_uncaught_exceptions()
|
||||
|
||||
raise ValueError("boo")
|
||||
dummy_function1()
|
||||
|
||||
title = None
|
||||
if len(sys.argv) > 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue