Replies: 1 comment
-
Close this thread as I decided to move it to Issue #6152 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My worker application hosts a HostedService and it processes workflow jobs in the background. Normally it tracks logging as expected, but I do notice that in case of exception thrown OTEL does not automatically capture it as it does for foreground api request.
Is it a bug or by design? I can workaround that by asking my colleagues to include the exception object in logging, but that's error prone and counterintuitive. Everyone can make mistake and miss it.
A small repro, this is just for demonstrating my problem.
Here is the setup
Beta Was this translation helpful? Give feedback.
All reactions