Pull Request #219: EnhancedErrorHandling#215
Pull Request #219 by manojna191
EnhancedErrorHandling#215
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