From 9a5916ff608565b160f5b0fa66876d55b8d94f61 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Fri, 8 Dec 2023 18:04:31 -0600 Subject: [PATCH] fix: larger exception handling --- src/ape/api/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ape/api/projects.py b/src/ape/api/projects.py index 1039f80edd..50457acafd 100644 --- a/src/ape/api/projects.py +++ b/src/ape/api/projects.py @@ -481,7 +481,7 @@ def _load_manifest_from_file(file_path: Path) -> Optional[PackageManifest]: try: return PackageManifest.model_validate_json(file_path.read_text()) - except ValidationError as err: + except Exception as err: logger.warning(f"Existing manifest file '{file_path}' corrupted. Re-building.") logger.debug(str(err)) return None