Skip to content

Commit

Permalink
[BUGFIX] Add StoreBackendError to missing exception list. (#10224)
Browse files Browse the repository at this point in the history
  • Loading branch information
billdirks authored Aug 16, 2024
1 parent 7ff0813 commit 7314bd0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions great_expectations/data_context/store/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: "
Expand Down

0 comments on commit 7314bd0

Please sign in to comment.