Open hunterboerner opened 3 months ago
Also, does this mean that all of my errors are being double-caught? Once as the error itself and then secondly as part of the logger? That doesn't seem like the desired behavior.
@hunterboerner this might be a problem with the :domain
setting (see https://github.com/getsentry/sentry-elixir/commit/c4b2facee4b7c2235fd132b8513c0c9f97a947ac), but I see that it's just [:elixir]
above. @mtrudel any idea what's going on here, if it's something Bandit-related?
We only added :bandit
as the logging domain in 1.5.5, released on 19 Jun. If you're running a version older than that I think you should expect to the see the behaviour you're seeing
@hunterboerner could you give the newly-releases Sentry 10.6.2 + Bandit >= 1.5.5 a try? I think they should fix this up.
Hi,
Bandit
is throwing exceptions for me from some malformed requests that are probing my site. I can easily filter out that exception with abefore_send
callback:but it appears the error is also getting captured by the log handler which has
original_exception
set tonil
. What do I do in this situation?