sentry-ruby icon indicating copy to clipboard operation
sentry-ruby copied to clipboard

Net::HTTP errors are sent upstream

Open sl0thentr0py opened this issue 3 years ago • 1 comments

Issue Description

Net::HTTP errors (here Net::OpenTimeout) don't derive from StandardError so they are not rescued in send_event and sent upstream as exceptions to Sentry.

Reproduction Steps

The following issue is from SentryEventJob with config.async but I think the problem holds generally. https://sentry.io/share/issue/8e2e207b0fec41aaa2615f610a5437d6/

Expected Behavior

Exceptions in the SDK should be gracefully ignored.

Actual Behavior

They show up in Sentry.

Ruby Version

2.6.8p205

SDK Version

5.2.1

Integration and Its Version

No response

Sentry Config

No response

sl0thentr0py avatar Apr 07 '22 14:04 sl0thentr0py

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Apr 29 '22 00:04 github-actions[bot]