Skip to content

Commit 4c072ad

Browse files
dustinblackmankamilogorek
authored andcommitted
fix: Report fatal errors as indeed "fatal" (#425)
1 parent 51aa43e commit 4c072ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ extend(Raven.prototype, {
161161
// also we want to make sure we don't go recursion crazy if more errors happen after this one
162162
firstError = err;
163163
caughtFirstError = true;
164-
self.captureException(err, function(sendErr, eventId) {
164+
self.captureException(err, {level: 'fatal'}, function(sendErr, eventId) {
165165
if (!calledFatalError) {
166166
calledFatalError = true;
167167
self.onFatalError(err, sendErr, eventId);

0 commit comments

Comments
 (0)