gruntjs/grunt — pull request #533 by stuartf (2012-11-16 18:39:07+00:00)
Title: Better verbose logging for template errors

I was getting a template error that just said ` An error occurred while processing a template (Cannot call method 'indexOf' of undefined). Use --force to continue. ` Which wasn't very helpful, (which template?). So I added a stack trace to the warning when running with `--verbose` so that I could find some info about the source of the issue.