Closed hjgraca closed 7 months ago
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
7308cc6
) 72.23% compared to head (5159cd8
) 73.32%.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issue number: #514
Summary
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
Changes
Add exception handling in Log extension method.
Add Tests
User experience
The client should not see any exception in case Logger fails internally. It will be logged as error to get visibility
Checklist
Please leave checklist items unchecked if they do not apply to your change.
Is this a breaking change?
**RFC issue number**: Checklist: * [ ] Migration process documented * [ ] Implement warnings (if it can live side by side)Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.