SentryTracingMiddleware
doesn't connect exception to trace-id
#1042
Labels
SentryTracingMiddleware
doesn't connect exception to trace-id
#1042
When an exception is thrown through the tracing middleware
SentryTracingMiddleware
, the transaction is finished and the exception flows through.This means the exception captured by the erro reporting
SentryMiddleware
is unaware that there was a transaction in that request and the two parts of the product are disconnectedSentryTracingMiddleware
must have acatch
block and set that exception reference to the weak reference map that connects exception instances to spans, so that upstream we can do the link between error and transaction.The text was updated successfully, but these errors were encountered: