Merge pull request #30 from jimrubenstein/master

Add the filepath for the JST that failed to compile
This commit is contained in:
Kyle Robinson Young 2013-07-14 19:14:14 -07:00
commit f7bd8b7c52

View File

@ -53,7 +53,7 @@ module.exports = function(grunt) {
compiled = _.template(src, false, options.templateSettings).source;
} catch (e) {
grunt.log.error(e);
grunt.fail.warn('JST failed to compile.');
grunt.fail.warn('JST "' + filepath + '" failed to compile.');
}
if (options.prettify) {