Skip to content

Commit

Permalink
Merge pull request #1193 from tjgq/report-failed-hook-error-message
Browse files Browse the repository at this point in the history
Display error message correctly when a hook fails to run.
  • Loading branch information
johanneswuerbach committed Nov 4, 2017
2 parents a87d79b + e7bc3dd commit 208b5d5
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 208b5d5

Please sign in to comment.