Skip to content

Commit edb1532

Browse files
committed
Include context in RSVP handler.
1 parent 7392140 commit edb1532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/ember.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Ember.onerror = function EmberOnError(error) {
2020
};
2121
Ember.RSVP.on('error', function (reason) {
2222
if (reason instanceof Error) {
23-
Raven.captureException(reason);
23+
Raven.captureException(reason, {extra: {context: 'Unhandled RSVP error'}});
2424
} else {
2525
try {
2626
throw new Error('Unhandled Promise error detected');

0 commit comments

Comments
 (0)