diff --git a/scripts/check_passwords.py b/scripts/check_passwords.py index b5c3da7c..4ed4978e 100644 --- a/scripts/check_passwords.py +++ b/scripts/check_passwords.py @@ -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)