fix: Handle all exceptions when loading parser in linter

This commit is contained in:
Paul Gauthier 2024-09-24 16:49:29 -07:00 committed by Paul Gauthier (aider)
parent 3c87e3670c
commit 75e1d519da

View file

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