Permalink
Browse files

Use LibSass' pre-formatted error messages. Fixes #201.

  • Loading branch information...
1 parent d941295 commit a52c4190af5009b76908cfdb56f62e3dd04ecc74 @xzyfer xzyfer committed Oct 25, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/sass.js
View
@@ -25,7 +25,7 @@ module.exports = function (grunt) {
outFile: el.dest
}), function (err, res) {
if (err) {
- grunt.log.error(err.message + '\n ' + 'Line ' + err.line + ' Column ' + err.column + ' ' + path.relative(process.cwd(), err.file) + '\n');
+ grunt.log.error(err.formatted + '\n');
grunt.warn('');
next(err);
return;

0 comments on commit a52c419

Please sign in to comment.