-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issue https://github.com/mde/ejs/issues/119 #129
Conversation
@mde: I tried this and it does output better errors. Edit: This only partially solves these issues. It's a step in the right direction though. Output for rendering index.ejs with an undefined var (
Output after this patch:
I'm not sure that we want the sample folder & script included in the PR; especially since the script installs express.js (which is unnecessary since the errors are outputted to the command line). Also, perhaps the commits should be interactively rebased to tidy things up a bit before merging to master (@dgofman, don't rebase until @mde gives the OK). Other than that 👍 to @dgofman IMO. |
My changes related only problems in HTML templates it's not cover all issues in EJS exceptions. |
Thanks for the clarification @dgofman. |
@mde ping? |
On second thought, perhaps the sample folder could be used for testing. @TimothyGu, could you look over this to make sure I'm not missing anything? |
@RyanZim |
@dgofman I removed the line note for the time being. I'm not sure if we want to include the |
@RyanZim |
LGTM. Thanks! |
@mde: Do you want the sample folder & script removed or not? |
Hi Matthew (@mde), When are you planing to push new version ejs to NPM? On Mon, Apr 18, 2016 at 9:28 AM, Matthew Eernisse notifications@github.com
|
Run test script by command
Open browser and goto http://localhost:3000/
Before
After