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

No issues are being sent to Sentry

Open dovvan opened this issue 3 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
  • [X] I have reviewed the documentation https://docs.sentry.io/
  • [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/angular

SDK Version

7.11.1

Framework Version

Angular 12

Link to Sentry event

No response

Steps to Reproduce

I throw an error from my angular app. But nothing is fetched in Sentry issue log. I tried: Sentry.captureException('Exception'); throw new Error('Thrown Error'); And also to force an error that a know about in my app.

Expected Result

Errors to be logged in Sentry.

Actual Result

Nothing is logged in sentry. I get nothing in Sentry logger in the console.

I can see in network that sentry is called. Payload [attached] sentry-payload.txt

dovvan avatar Aug 22 '22 13:08 dovvan

Are you using self-hosted Sentry? If so, could it be related to this? image

vetlevo avatar Aug 26 '22 11:08 vetlevo

Hi @dovvan, sorry for the delay, we had hackweek going on.

There are multiple reasons why events may not end up in Sentry.

  • Some adblocker (admittedly unnecessarily) block the Sentry ingest endpoint. This should show up in your browser console.
  • You might get rate limited.
  • An event processor is dropping the events.
  • Other obscure reasons.

The logs for your organization don't show anything out of the ordinary, so I suppose there is something going on clientside. Can you try setting debug: true in Sentry.init() options and see if there is anything in the browser console that might indicate why events are not sent?

lforst avatar Aug 29 '22 08:08 lforst

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 Sep 20 '22 00:09 github-actions[bot]