Feature request: Handle Exceptions and Prevent application from crashing when using Logger #514
Closed
2 tasks done
Labels
area/logging
Core logging utility
feature-request
New or enhancements to existing features
status/confirmed
The scope is clear, ready for implementation
triage
Pending triage from maintainers
Milestone
Use case
On exceptions within the Logging framework code, currently, it throws an exception and brings down the whole application.
For example below is a code that has a mismatch count of parameters passed to the log message - Missing
Count
property value being passed in.It throws an exception and causes the Lambda Handler endpoint to crash and return a
500 Internal Server Error
Solution/User Experience
On exceptions within the logging framework, it should gracefully handle this without causing the application to crash. A similar approach is taken by other popular libraries in this space (e.g Serilog)
Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: