-
Notifications
You must be signed in to change notification settings - Fork 0
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
ch-Add a global error handler middleware #26
Conversation
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.
@Calebgisa72 Looks Good🎉!
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.
You should have updated version of develop @Calebgisa72 !
da5b934
to
18e6153
Compare
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.
@Calebgisa72, You are not using errorHandler in the project root which is resulting error can you please include it in src/index.ts
it should be something like this app.use(errorHandler);
3b47555
to
9ae63a7
Compare
9ae63a7
to
e97eca0
Compare
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.
Nice Work @Calebgisa72 !
What does this PR do?
This pull request implements a global error handling middleware in the knights-ecomm-be project to enhance error management and user experience.
Description of Task Completed:
The task accomplished in this pull request involves:
How should this be manually tested?
To manually test all the changes made in this pull request, follow these steps:
git clone -b branch-name https://github.com/your-username/knights-ecomm-be.git
cd knights-ecomm-be
npm i
npm run dev
Make a request using postman.