diff --git a/src/server/rollbar.js b/src/server/rollbar.js index 0892539bb..2bb88229e 100644 --- a/src/server/rollbar.js +++ b/src/server/rollbar.js @@ -206,8 +206,9 @@ Rollbar.error = function () { Rollbar.prototype._uncaughtError = function () { var item = this._createItem(arguments); item._isUncaught = true; + item.level = this.options.uncaughtErrorLevel; var uuid = item.uuid; - this.client.error(item); + this.client.log(item); return { uuid: uuid }; };