HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Improved reporting for template compile errors
Previously when a template failed to compile (i.e., for CoffeeScript, HAML, SASS, etc.) a long, useless stack trace was produced. In such cases, the stack trace contains information about Sinatra internals that the web developer likely has little interest in. With this commit, for such errors only the actual error message (which might look like "Error: Parse error on line 190: Unexpected 'INDENT'") is shown to the user. This greatly improves the experience of writing web applications using compiled languages.
- Loading branch information...
1 parent a6f6a14 commit 1cb56cce421162e38a056641d016cb9d394e9e99 Micah Wylde committed