Skip to content

Commit

Permalink
Display error message correctly when a hook fails to run.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgq committed Nov 4, 2017
1 parent a87d79b commit e7bc3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporters/dev/index.js
Expand Up @@ -336,7 +336,7 @@ module.exports = View.extend({

report: function(browserName, result) {
if (isTestemItself(result)) {
return this._showError('Testem error', result.error.message);
return this._showError('Testem error', result.error);
}

var runner = this.x[result.launcherId];
Expand Down

0 comments on commit e7bc3dd

Please sign in to comment.