diff --git a/HISTORY.rst b/HISTORY.rst index e92896b9..a29f23d1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -18,6 +18,8 @@ PlatformIO Core 6 6.1.8 (2023-??-??) ~~~~~~~~~~~~~~~~~~ +* Enhanced the parsing of the |PIOCONF| to provide comprehensive diagnostic information + 6.1.7 (2023-05-08) ~~~~~~~~~~~~~~~~~~ diff --git a/platformio/project/config.py b/platformio/project/config.py index c2b072ef..08ab422c 100644 --- a/platformio/project/config.py +++ b/platformio/project/config.py @@ -98,7 +98,7 @@ class ProjectConfigBase: try: self._parser.read(path, "utf-8") except configparser.Error as exc: - raise exception.InvalidProjectConfError(path, str(exc)) + raise exception.InvalidProjectConfError(path, str(exc)) from exc if not parse_extra: return