question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Events won't send from the console

See original GitHub issue

https://github.com/getsentry/raven-js/pull/1080 updated captureMessage to check whitelistUrls before sending the event. However, events typed in from a browser console have a URL of <anonymous>, so the check fails.

screen shot 2018-04-10 at 12 11 33 pm

This has affected all releases since 3.19:

screen shot 2018-04-10 at 12 44 48 pm

In my experience it’s helpful to be able to trigger one-off events from the console to ensure that Raven is configured correctly (particularly when setting up Raven for the first time, or deploying a new version).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
seanlinsleycommented, Apr 16, 2018

It seems to me that commands from the console should be properly associated with the site’s domain, instead of being marked as anonymous.

I’d expect to find that a lot of Sentry users rely on the old behavior. How are you supposed to be 100% sure that Sentry is working in production (w/ its usual production configuration) without being able to trigger an event from the console? Expecting users to always embed a call in their source code & then later remove it after testing is complete is too heavy-handed, IMO.

0reactions
kamilogorekcommented, Sep 4, 2018

Closing due to inactivity. Feel free to reopen if still relevant.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Events not logged in firebase console - react native
Having done that I'v tried to log an Event but I can't see it in Firebase. What left me completely baffled is that...
Read more >
Allow external invitations in Google Calendar events
Follow these steps to enable or disable the external Calendar invitation prompt: Sign in to your Google Admin console. Sign in using your...
Read more >
calendar invitations are not sent since upgrade to 91
Try creating a new local calendar, define the Email account, add an event with invited attendees, and see if the invitations are sent....
Read more >
iCloud calendar not sending invites - Apple Stack Exchange
No matter whether I try via icloud.com or iCal.app synced with iCloud - it just doesn't. No events no updates. Tested sending to...
Read more >
enable and configure event notifications for an S3 bucket
You can enable certain Amazon S3 bucket events to send a notification message to a ... Amazon SQS, or Lambda notifications using the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found