winton / stasis

Static sites made powerful
http://stasis.me
MIT License
679 stars 56 forks source link

Implements Issue #39: Prints the view that was being rendered on an exception. #40

Closed laurencer closed 12 years ago

laurencer commented 12 years ago

This catches any exceptions that are thrown when a view is rendered and prints the file path. This is necessary because Coffeescript only indicates the line number but not the file name when an exception is thrown making it difficult/tedious/annoying to debug.