From d23b67737b14474e6e6f6c1b7e6accb98403c108 Mon Sep 17 00:00:00 2001 From: Roy van Kaathoven Date: Fri, 12 Jun 2015 20:37:23 +0200 Subject: [PATCH] output stderror instead of stdout to show detailed errors when spawnCasperJS fails --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index accf378220..bc86c75460 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -506,7 +506,7 @@ var _ = require('lodash'), }, function (error, result, code) { /*jshint unused:false*/ if (error) { - grunt.fail.fatal(result.stdout); + grunt.fail.fatal(result.stderr); } grunt.log.writeln(result.stdout); done();