We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb1532 commit ce8e1a5Copy full SHA for ce8e1a5
plugins/ember.js
@@ -22,11 +22,7 @@ Ember.RSVP.on('error', function (reason) {
22
if (reason instanceof Error) {
23
Raven.captureException(reason, {extra: {context: 'Unhandled RSVP error'}});
24
} else {
25
- try {
26
- throw new Error('Unhandled Promise error detected');
27
- } catch (err) {
28
- Raven.captureException(err, {extra: {reason: reason}});
29
- }
+ Raven.captureMessage('Unhandled Promise error detected', {extra: {reason: reason}});
30
}
31
});
32
0 commit comments