{AttributeError}'grpc._cython.cygrpc._ServicerContext' object has no attribute '_state'

62 views
Skip to first unread message

Ilian Iliev

unread,
Apr 27, 2021, 11:23:14 AM4/27/21
to grpc.io
Hello,

I am using version 1.37.0 using the async option.
What I am trying to do is detect the status code in my interceptor for logging reasons.
It worked fine in the non-async version but not in the async one.
Is there any other way to get the status code from the context object in the asyn mode?

Greetings,
Ilian
Reply all
Reply to author
Forward
0 new messages