mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: add exception hook at start of main function
This commit is contained in:
parent
8096649b26
commit
d0ef9945ee
1 changed files with 3 additions and 0 deletions
|
@ -288,6 +288,9 @@ def register_litellm_models(git_root, model_metadata_fname, io, verbose=False):
|
|||
|
||||
|
||||
def main(argv=None, input=None, output=None, force_git_root=None, return_coder=False):
|
||||
from aider.report import report_uncaught_exceptions
|
||||
report_uncaught_exceptions()
|
||||
|
||||
if argv is None:
|
||||
argv = sys.argv[1:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue