Skip to content

How to filter sentry messages generated from HTTPException, base on the status code (e.g. not send 422) #10577

Discussion options

You must be logged in to vote

I am not well versed in sentry's sdk but the docs seem to indicate that you should be able to access the original exception in the hint param which should contain the status code

What does your hint param look like for a sample request?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
2 participants