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

Error handling middleware not being called. #5977

Open
Aniket-Patel-swg opened this issue Sep 21, 2024 · 1 comment
Open

Error handling middleware not being called. #5977

Aniket-Patel-swg opened this issue Sep 21, 2024 · 1 comment
Labels

Comments

@Aniket-Patel-swg
Copy link

Screenshot 2024-09-21 104151

here's my app.ts (index.ts contain app.listen part after successful connection with mongo.db);
here's test controller.
Screenshot 2024-09-21 104216

when hit API with postman, none of the error is showing.

@VishamberDas-007
Copy link

it seems like the above code should work if the routes are placed properly w.r.t its controllers.

Can you provide some more info regarding to which route you are calling and how the routes are related to main router and so on..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants