fix: password check constructor error (#1077)

This commit is contained in:
Anish Lakhwara 2023-08-15 12:00:13 -07:00 committed by GitHub
parent 2e73148bea
commit 04c2f050df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
from collections.abc import Generator
import yaml
from yaml.scanner import ScannerError
from yaml.constructor import ConstructorError
import sys
@ -47,6 +48,9 @@ for file in changed_files:
except ScannerError:
print(f"Couldn't parse yaml file for: {file}")
pass
except ConstructorError:
print(f"Couldn't construct yaml file: {file}")
pass
if WE_DUN_GOOFED:
exit(1)