diff --git a/electron/install.js b/electron/install.js index ba13ac9f8..04893a6dc 100644 --- a/electron/install.js +++ b/electron/install.js @@ -13,7 +13,7 @@ const { paths } = require('./constants'); * - use "" (nothing as a suffix) for latest release candidate, for example "0.1.0rc26" * - use "alpha" for alpha release, for example "0.1.0rc26-alpha" */ -const OlasMiddlewareVersion = '0.1.0rc71'; +const OlasMiddlewareVersion = '0.1.0rc86'; const Env = { ...process.env, diff --git a/operate/services/manage.py b/operate/services/manage.py index 927fff7cc..2673b991c 100644 --- a/operate/services/manage.py +++ b/operate/services/manage.py @@ -111,8 +111,16 @@ def json(self) -> t.List[t.Dict]: continue if not path.name.startswith("bafybei"): continue - service = Service.load(path=path) - data.append(service.json) + try: + service = Service.load(path=path) + data.append(service.json) + except Exception as e: # pylint: disable=broad-except + self.logger.warning( + f"Failed to load service: {path.name}. Exception: {e}" + ) + # delete the invalid path + shutil.rmtree(path) + self.logger.info(f"Deleted invalid service: {path.name}") return data def exists(self, service: str) -> bool: diff --git a/package.json b/package.json index e41167849..967f801ce 100644 --- a/package.json +++ b/package.json @@ -56,5 +56,5 @@ "start:frontend": "cd frontend && yarn start", "test:frontend": "cd frontend && yarn test" }, - "version": "0.1.0-rc71" + "version": "0.1.0-rc86" } diff --git a/pyproject.toml b/pyproject.toml index 8ac78d250..71d3158cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "olas-operate-middleware" -version = "0.1.0-rc71" +version = "0.1.0-rc86" description = "" authors = ["David Vilela ", "Viraj Patel "] readme = "README.md"