From cf62c90c7062961861fbc6b1e3a35450948287db Mon Sep 17 00:00:00 2001 From: johnbywater Date: Mon, 20 May 2024 14:44:45 +0100 Subject: [PATCH] Changed OperationFailed to inherit from GrpcError (so methods are retried). Done after call to create_projection() to test_disable_projection() unusually raised this error. --- esdbclient/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esdbclient/exceptions.py b/esdbclient/exceptions.py index 9a7dca5..55cfb43 100644 --- a/esdbclient/exceptions.py +++ b/esdbclient/exceptions.py @@ -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). """