mirror of https://github.com/ARMmbed/mbed-os.git
Error on invalid mbed_lib JSON
parent
75cb4d7512
commit
f34feddaa2
|
@ -490,8 +490,7 @@ class Config(object):
|
||||||
try:
|
try:
|
||||||
cfg = json_file_to_dict(config_file)
|
cfg = json_file_to_dict(config_file)
|
||||||
except ValueError as exc:
|
except ValueError as exc:
|
||||||
sys.stderr.write(str(exc) + "\n")
|
raise ConfigException(str(exc))
|
||||||
continue
|
|
||||||
|
|
||||||
# Validate the format of the JSON file based on the schema_lib.json
|
# Validate the format of the JSON file based on the schema_lib.json
|
||||||
schema_root = os.path.dirname(os.path.abspath(__file__))
|
schema_root = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
Loading…
Reference in New Issue