mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #6552 from theotherjimmy/error-invalid-lib
Error on invalid mbed_lib JSONpull/6564/head
						commit
						89301b1a0e
					
				| 
						 | 
				
			
			@ -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__))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue