Skip to content

Commit

Permalink
Resolves #767.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Apr 9, 2024
1 parent 0824988 commit f751ad8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion WorkbenchConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ def get_user_config(self):
try:
loaded = yaml.load(stream)
except YAMLError as exc:
print(exc)
print(
f"There appears to be a YAML syntax error in your configuration file, {self.args.config}. Remove the username and\npassword, and run the file through https://codebeautify.org/yaml-validator/ or your YAML validator of choice."
)
sys.exit()

# 'media_file_fields' has been replaced with 'media_fields' and 'media_type_file_fields'.
# This is aliasing code that can be removed at some point in the future.
if "media_file_fields" in loaded:
Expand Down

0 comments on commit f751ad8

Please sign in to comment.