Better verbose logging for template errors #533

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@stuartf
Contributor

stuartf commented Nov 16, 2012

I was getting a template error that just said <WARN> An error occurred while processing a template (Cannot call method 'indexOf' of undefined). Use --force to continue. </WARN> 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.

@stuartf stuartf referenced this pull request in asciidisco/grunt-imagine Nov 16, 2012

Closed

Error processing a template #16

@shama

This comment has been minimized.

Show comment
Hide comment
@shama

shama Nov 28, 2012

Member

Could you open this pull request against the devel branch? That is where the latest dev is happening. Thanks!

Member

shama commented Nov 28, 2012

Could you open this pull request against the devel branch? That is where the latest dev is happening. Thanks!

@shama shama closed this Nov 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment