Skip to content
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

Use your error handling middleware #165

Open
mantagen opened this issue Oct 1, 2017 · 2 comments
Open

Use your error handling middleware #165

mantagen opened this issue Oct 1, 2017 · 2 comments

Comments

@mantagen
Copy link

mantagen commented Oct 1, 2017

Because you don't want to see this everywhere:

        return res.render('error.hbs', {message: '...});

eg
https://github.com/FACG2/wrap/blob/master/src/routes/helpers/auth.js#L11

@Walidmash
Copy link
Contributor

done 👍

@mantagen
Copy link
Author

mantagen commented Oct 3, 2017

@Walidmash please see my comment on that commit c44ead4

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

No branches or pull requests

2 participants