Error on invalid mbed_lib JSON

pull/6552/head
Jimmy Brisson 2018-04-05 14:34:00 -05:00
parent 75cb4d7512
commit f34feddaa2
1 changed files with 1 additions and 2 deletions

View File

@ -490,8 +490,7 @@ class Config(object):
try:
cfg = json_file_to_dict(config_file)
except ValueError as exc:
sys.stderr.write(str(exc) + "\n")
continue
raise ConfigException(str(exc))
# Validate the format of the JSON file based on the schema_lib.json
schema_root = os.path.dirname(os.path.abspath(__file__))