From 7314bd04e6584674fca019cdf4ad23077824c65a Mon Sep 17 00:00:00 2001 From: Bill Dirks Date: Fri, 16 Aug 2024 14:54:41 -0700 Subject: [PATCH] [BUGFIX] Add StoreBackendError to missing exception list. (#10224) --- great_expectations/data_context/store/store.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/great_expectations/data_context/store/store.py b/great_expectations/data_context/store/store.py index 3a80c7d8667b..a3c5fb300976 100644 --- a/great_expectations/data_context/store/store.py +++ b/great_expectations/data_context/store/store.py @@ -28,7 +28,11 @@ GXCloudIdentifier, ) from great_expectations.data_context.util import instantiate_class_from_config -from great_expectations.exceptions import ClassInstantiationError, DataContextError +from great_expectations.exceptions import ( + ClassInstantiationError, + DataContextError, + StoreBackendError, +) if TYPE_CHECKING: # min version of typing_extension missing `NotRequired`, so it can't be imported at runtime @@ -240,7 +244,11 @@ def get_all(self) -> list[Any]: for obj in objs: try: deserializable_objs.append(self.deserialize(obj)) - except (MarshmallowValidationError, PydanticValidationError): + except ( + MarshmallowValidationError, + PydanticValidationError, + StoreBackendError, + ): bad_objs.append(obj) if bad_objs: prefix = "\n SKIPPED: "