Output which file failed to compile

This commit is contained in:
Jim Rubenstein 2013-07-14 21:38:36 -04:00
parent dc66a34f38
commit 7b290ffe80

View File

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