Handle another exception on setting status on exception#616
Handle another exception on setting status on exception#616dtaniwaki wants to merge 1 commit intoopen-telemetry:masterfrom
Conversation
b5f07e8 to
fbc3179
Compare
|
|
|
@dtaniwaki |
|
Hey @dtaniwaki , thanks for the PR. I don't think this is necessary to check for an exception there, the code inside the |
|
@mauriciovasquezbernal Although the bug has been fixed, Maybe, at least we want to set |
|
@dtaniwaki actually Could you please provide more information about what your original problem was? |
|
@mauriciovasquezbernal I found a bug of #577 while I was using the gRPC interceptor and it made my gRPC application always return an I hope we won't have any bug in the span handling on error in the future. 👍 |
|
I found the Python official docs about exceptions on logging so I'm sharing it just in case. |
I realized the gRPC interceptor raises another exception while setting status on exception. The bug itself has been fixed by #577, but I think this kind of error should not be propagated to the caller as tracing should be a secondary thing.