agoragames/stache — pull request #8 by subwindow (2011-12-23 19:08:44+00:00)
Title: Patch to properly reraise NameError/LoadError that occurs upon loading a Stache::View

I spent quite a bit of time today trying to debug a problem where my stache view class wasn't getting loaded, and it turns out that I had messed up an 'include' statement in my class. Unfortunately, Stache swallowed the error and it was very difficult to figure out what was wrong.

This patch re-raises NameError/LoadError if the error wasn't from loading the actual stache view class that we were trying to load.