Open ruslandoga opened 6 months ago
Interesting, yeah this is not supposed to happen. The Logger backend and handler use the same code to send exceptions (passing result: :none
to Sentry.capture_exception/2
, so both use the sender thing).
I wouldn't exclude that this might be an issue with Finch leaking messages, or nimble_pool (the pooling library that Finch uses) leaking messages. Should we try to open an issue in those too?
👋
Environment
Sentry client version is 10.2.0, here's how it's configured:
Steps to Reproduce
I don't have steps to reproduce right now, but here's what happened:
The message looks similar to https://github.com/sneako/finch/blob/71f469c46d3d8ea9993d986789cef8d14bcc819c/lib/finch/http1/pool.ex#L201, but why did it arrive in Sentry.Transport.Sender is unclear: Sentry.Transport.Sender is supposed to be used only with logger handlers, and we use a custom logger backend still.
Expected Result
The goal of opening this issue is to find out what sent the message and why it was sent to Sentry.Transport.Sender.