Browse Source

Fix regression in uncaughtException formatting.

c424ceb3d introduced a regression in how we format uncaughtExceptions.
The wrong value was being passed to the logger.
babel-plugin-for-integration-tests
James Talmage 9 years ago
parent
commit
d0d3387ac9
  1. 4
      api.js

4
api.js

@ -74,9 +74,11 @@ Api.prototype._handleRejections = function (data) {
}, this);
};
Api.prototype._handleExceptions = function (err) {
Api.prototype._handleExceptions = function (data) {
this.exceptionCount++;
var err = data.exception;
err.type = 'exception';
err.file = data.file;
this.emit('error', err);
this.errors.push(err);
};

Loading…
Cancel
Save