Uh oh!
There was an error while loading. Please reload this page.
fix(hapi): Specify error channel to filter boom errors - #12725
Conversation
camsteffen
commented
Jul 2, 2024
FWIW, I think there's another (arguably worse) version of this bug where onPreResponse recovers from the error with a 200 response. I'm not sure it's valuable for the tests to enumerate all these possibilities though. We're just relying on Hapi to report an error on the error channel when applicable. The details of that are not Sentry's responsibility. But also I'm not a maintainer so don't mind me! |
s1gr1d
commented
Jul 3, 2024
@camsteffen Thanks for you engagement in this topic! 👍🏻 I am not sure if I understood you correctly. I added a test case for a "2xx override" inside |
camsteffen
commented
Jul 3, 2024
I guess what I'm suggesting is - I wonder if you could have a test like |
If errors are handled with Boom inside
onPreResponse, the error should not be reported to Sentry.fixes#12702