Ember Plugin swallows errors from Console
See original GitHub issueDo you want to request a feature or report a bug?
This is a bug.
What is the current behavior?
I’ve included Raven v3.15 both through the CDN and bower install raven-js
and import it according to the steps listed at https://docs.sentry.io/clients/javascript/integrations/ember. When I manually throw an error throw new Error('This should be in the console')
it never shows any signs of failure in the console, and it does not show up on the Sentry dashboard.
If I leave out the Ember plugin the errors shows up on Sentry’s Dashboard but not in the console.
What is the expected behavior?
The error should always be visible in the console as opposed to being swallowed. In addition, the error should also be visible on the Sentry dashboard.
This shows errors in the console but not on the Dashboard:
app.import('bower_components/raven-js/dist/raven.js');
// app.import('bower_components/raven-js/dist/plugins/ember.js');
This shows errors on the Dashboard but not in the console:
app.import('bower_components/raven-js/dist/raven.js');
app.import('bower_components/raven-js/dist/plugins/ember.js');
Environment This was tested on macOS in both Chrome and Firefox. The versions of Raven tested are 3.14 and 3.15, hosted Sentry.
I haven’t seen this work with the Ember plugin – my only experience with Sentry has been the standalone version (no plugins).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:6 (3 by maintainers)
Top GitHub Comments
Thanks for the report and details, @mirague.
Could you include a minimum complete example of where you do the importing, where you instantiate/configure Raven, and where you throw? I’d like to reproduce this locally to investigate and want to make sure I start from the same place.
@iamareebjamal yes please, preferably following our issue template (event link, repro case etc.) Thanks!