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 express-error-handler instead of error-handler #25

Closed
wants to merge 1 commit into from

Conversation

peterkaminski
Copy link

Hi,

I think you need express-error-handler instead of error-handler, otherwise it doesn't work.

Also, the app.use has to point to the external module, not the one in Express.

I've run the project after these changes, and it seems to work properly. With just error-handler, it would hang instead of replying to requests.

@peterkaminski
Copy link
Author

Never mind, @Moriame got the right module in #24.

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