Skip to content

Commit

Permalink
include file name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
timoxley committed Jul 9, 2012
1 parent 011462c commit 197afa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/coffee.js
Expand Up @@ -47,7 +47,7 @@ module.exports = function(grunt) {
try {
js = coffee.compile(grunt.file.read(src), options);
} catch (e) {
grunt.log.error(e);
grunt.log.error("Error in " + src + ":\n" + e);
}
if (this.errorCount) { return false; }
grunt.file.write(dest, js);
Expand Down

0 comments on commit 197afa5

Please sign in to comment.