diff --git a/tasks/sass.js b/tasks/sass.js index 045dce0..a883803 100644 --- a/tasks/sass.js +++ b/tasks/sass.js @@ -36,6 +36,8 @@ module.exports = grunt => { grunt.file.write(filePath, result.map); } })); - })().catch(grunt.fatal).then(done); + })().catch(error => { + grunt.fatal(error.formatted || error); + }).then(done); }); };