mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: Handle all exceptions when loading parser in linter
This commit is contained in:
parent
3c87e3670c
commit
75e1d519da
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ def basic_lint(fname, code):
|
|||
|
||||
try:
|
||||
parser = get_parser(lang)
|
||||
except OSError as err:
|
||||
except Exception as err:
|
||||
print(f"Unable to load parser: {err}")
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue