Pull Request #217: bugFixed: #215Enhanced error handling
Pull Request #217 by manojna191
bugFixed: #215Enhanced error handling
Description
Error Handling:
Added handlers for uncaught exceptions to provide proper logging and gracefully shut down the server.
Added handlers for unhandled promise rejections to ensure server stability and prevent silent failures.
Added middleware which triggers when the entered route is wrong
Fixes #215
Type of change
Please delete options that are not relevant.
- [ ] New feature (non-breaking change which adds functionality)
Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in modules
0 Replies