-
Notifications
You must be signed in to change notification settings - Fork 17
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
Yana - submission #9
base: master
Are you sure you want to change the base?
Conversation
…other dependencies, eslint, gitignore, package.json
…took me several days to figure out I was having async issues. YAY
// debug('error middleware'); | ||
// if (err.status) { | ||
// res.status(err.status).send(err.message); | ||
// return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (err.status) {
res.status(err.status).send(err.name);
return;
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line of code doesn't make a difference just something I noticed that you might want to change.
No description provided.