Skip to content

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