Handle broken JSON files

This commit is contained in:
Ivan Kravets
2018-04-15 06:08:29 +03:00
parent d0cc3a045e
commit aa28beddd8
3 changed files with 8 additions and 4 deletions

View File

@ -207,6 +207,11 @@ class InvalidSettingValue(PlatformioException):
MESSAGE = "Invalid value '{0}' for the setting '{1}'"
class InvalidJSONFile(PlatformioException):
MESSAGE = "Could not load broken JSON: {0}"
class CIBuildEnvsEmpty(PlatformioException):
MESSAGE = ("Can't find PlatformIO build environments.\n"