We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5f4c06 commit 69c06e5Copy full SHA for 69c06e5
dapr/clients/grpc/subscription.py
@@ -84,7 +84,7 @@ def next_message(self):
84
return SubscriptionMessage(message.event_message)
85
except RpcError as e:
86
# If Dapr can't be reached, wait until it's ready and reconnect the stream
87
- if e.code() == StatusCode.UNAVAILABLE:
+ if e.code() == StatusCode.UNAVAILABLE or e.code() == StatusCode.UNKNOWN:
88
print(
89
f'gRPC error while reading from stream: {e.details()}, Status Code: {e.code()}'
90
)
0 commit comments