Skip to content

Error handler should include "title" parameter#321

Open
RuojunHong wants to merge 1 commit intoexpressjs:masterfrom
RuojunHong:patch-1
Open

Error handler should include "title" parameter#321
RuojunHong wants to merge 1 commit intoexpressjs:masterfrom
RuojunHong:patch-1

Conversation

@RuojunHong
Copy link

Because the template "error.jade" extends "layout.jade", which requires the "title" parameter.
jade engine would complain without this when it is trying to render the error page.

Because the template "error.jade" extends "layout.jade", which requires the "title" parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant