Hi! I have a question about integrating Sentry in...
# ask-community
j
Hi! I have a question about integrating Sentry info Prefect Flows. Currently I'm using
sentry_sdk.init
to initialize Sentry for my flows but, after some testing, if a pipeline fails due to an unhandled exception, it creates two issue entries in Sentry where both are handled exceptions. One is the actual exception and the other corresponds to the pipeline state with the message
Finished in state Failed
. I am able to filter out the state issue in Sentry by configuring
before_send
in the
init
, but all other issues are still considered "handled". Is there an additional configuration I'm missing? Thank you!