RUM-9501 Don't send fatal errors to Logs, only send them to RUM#2675
Conversation
d98f235 to
7741623
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/v3 #2675 +/- ##
==============================================
- Coverage 67.86% 67.55% -0.30%
==============================================
Files 821 814 -7
Lines 30544 30253 -291
Branches 5159 5135 -24
==============================================
- Hits 20726 20437 -289
- Misses 8454 8455 +1
+ Partials 1364 1361 -3
🚀 New features to boost your workflow:
|
|
PR LGTM, but I am curious what's the motivation behind this one? (I don't see it neither in the description nor in the ticket) |
I see it in V3 scope doc, OK for me |
| @@ -44,9 +43,6 @@ internal class DatadogNdkCrashHandler( | |||
| internal var lastNetworkInfo: NetworkInfo? = null | |||
There was a problem hiding this comment.
Probably we can remove lastNetworkInfo and lastUserInfo since they were used only for Logs? We can also remove the part where we write them to the disk.
| val logsFeature = sdkCore.getFeature(Feature.LOGS_FEATURE_NAME) | ||
| if (logsFeature != null) { | ||
| logsFeature.sendEvent( |
There was a problem hiding this comment.
we also need to remove related code in the LogsFeature
2dce78b to
ba29caf
Compare
What does this PR do?
let the crash handlers (
DatadogExceptionHandlerandDatadogNdkCrashHandler) only send errors to RUM