Add more helpful config parse error message

This commit is contained in:
2020-01-22 12:09:31 -05:00
parent 0076bcc83f
commit 0b31bab797
2 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ try:
# Set the config object in the api_provisioner namespace
api_provisioner.config = config
except Exception as e:
print('ERROR: {}.'.format(e))
print('ERROR: Failed to load configuration: {}'.format(e))
exit(1)
# Create Flask app and set config values