-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Keep events in case of nonserializable context #1401
Conversation
deafcbd
to
87ab80d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns out the serializes does push data into the writer before it fails. So it can end up at a broken state when we handle the exception. Added some compensating code there to fix the JSON and some extra logging.
Turns out what exception is thrown changed from netcore 2.1 and other targets. |
Codecov Report
@@ Coverage Diff @@
## main #1401 +/- ##
==========================================
- Coverage 83.01% 82.72% -0.29%
==========================================
Files 217 217
Lines 7295 7306 +11
Branches 1411 1415 +4
==========================================
- Hits 6056 6044 -12
- Misses 804 831 +27
+ Partials 435 431 -4
Continue to review full report at Codecov.
|
No description provided.