Skip to content

Commit d0639de

Browse files
Sean Lavinewaltjones
Sean Lavine
authored andcommitted
server: use uncaughtErrorLevel
1 parent ae8902c commit d0639de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server/rollbar.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,9 @@ Rollbar.error = function () {
250250
Rollbar.prototype._uncaughtError = function () {
251251
var item = this._createItem(arguments);
252252
item._isUncaught = true;
253+
item.level = this.options.uncaughtErrorLevel;
253254
var uuid = item.uuid;
254-
this.client.error(item);
255+
this.client.log(item);
255256
return { uuid: uuid };
256257
};
257258

0 commit comments

Comments
 (0)