Skip to content

Commit

Permalink
Changed OperationFailed to inherit from GrpcError (so methods are ret…
Browse files Browse the repository at this point in the history
…ried).

Done after call to create_projection() to test_disable_projection() unusually raised this error.
  • Loading branch information
johnbywater committed May 20, 2024
1 parent fda5a91 commit cf62c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esdbclient/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class InvalidTransactionError(EventStoreDBClientException):
"""


class OperationFailed(EventStoreDBClientException):
class OperationFailed(GrpcError):
"""
Raised when an operation fails (e.g. deleting a projection that isn't disabled).
"""
Expand Down

0 comments on commit cf62c90

Please sign in to comment.