-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handled / catched exceptions are getting into Azure Application Insights #3838
Comments
@chhauss-a can you share the stack trace where the exception is being thrown and where it's caught? |
Hey @heyams , thanks for looking into this issue! The exception that is thrown is the following:
The MongoLockProvider that I have mentioned above is catching the MongoServerException which the MongoCommandExceptions extends. |
Any updates on this issue so far? |
hi @chhauss-a! sorry for the delay, and thanks for the stack trace, can you do one more thing for us and enable self-diagnostic debug logging (e.g. env var this should show us which span that exception is being captured against which should help us narrow it down |
(specifically, if you can share any relevant |
Expected behavior
We have a handled exception in our application. When that exception is thrown and catched we should not see the occurrence of that exception in Application Insights.
Actual behavior
The thrown and catched exception is displayed in our Application Insights.
To Reproduce
System information
Please provide the following information:
The text was updated successfully, but these errors were encountered: