fix: add centralized backend error handling#92
Conversation
|
Someone is attempting to deploy a commit to the Sameer's projects Team on Vercel. A member of the Team first needs to authorize it. |
33ceabf to
b158c2a
Compare
|
Rebased this PR onto the latest Resolution notes:
Validation after rebase:
All passed locally. |
b158c2a to
76a42e0
Compare
|
Rebased this branch on latest What I preserved while refreshing:
Validation:
I also ran |
|
Rebased this branch on latest Resolution notes:
Validation:
The only red check currently shown is Vercel team authorization for this repo; local backend validation is green after the conflict repair. |
Summary
GET /so unknown routes can return structured 404 JSONValidation
node --check backend/middleware/errorHandler.jsnode --check backend/server.jsnode --check backend/routes/user.routes.jsnode --check backend/routes/message.routes.jsnode --check backend/controllers/user.controller.jsnode --check backend/controllers/message.controller.jsgit diff --checkFixes #88
Suggested labels:
gssoc:approved,level:intermediate,quality:clean,type:bug,type:backend,type:refactor.