Skip to content

RUMM-1762 Read is_crash info from cross platform attributes#764

Merged
xgouchet merged 1 commit into
masterfrom
xgouchet/RUMM-1762/read_crash_from_cp
Nov 22, 2021
Merged

RUMM-1762 Read is_crash info from cross platform attributes#764
xgouchet merged 1 commit into
masterfrom
xgouchet/RUMM-1762/read_crash_from_cp

Conversation

@xgouchet

Copy link
Copy Markdown
Contributor

What does this PR do?

Read error.is_crash info from cross platform attributes

@xgouchet
xgouchet requested a review from a team as a code owner November 18, 2021 12:12
@xgouchet xgouchet added the size-small This PR is small sized label Nov 18, 2021
source = event.source.toSchemaSource(),
stack = event.stacktrace ?: event.throwable?.loggableStackTrace(),
isCrash = event.isFatal,
isCrash = event.isFatal || (isFatal),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you use brackets here ?

@xgouchet
xgouchet force-pushed the xgouchet/RUMM-1762/read_crash_from_cp branch from b404430 to 09bc8be Compare November 19, 2021 15:17
@codecov-commenter

codecov-commenter commented Nov 19, 2021

Copy link
Copy Markdown

Codecov Report

Merging #764 (09bc8be) into master (98c7a33) will decrease coverage by 0.31%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #764      +/-   ##
============================================
- Coverage     89.06%   88.75%   -0.31%     
- Complexity     1782     1783       +1     
============================================
  Files           194      194              
  Lines          6116     6118       +2     
  Branches        703      705       +2     
============================================
- Hits           5447     5430      -17     
- Misses          441      453      +12     
- Partials        228      235       +7     
Impacted Files Coverage Δ
...id/rum/internal/domain/event/RumEventSerializer.kt 93.62% <100.00%> (+0.07%) ⬆️
.../android/rum/internal/domain/scope/RumViewScope.kt 96.03% <100.00%> (+0.01%) ⬆️
...m/internal/domain/scope/ExternalResourceTimings.kt 67.65% <0.00%> (-5.88%) ⬇️
...g/internal/domain/event/DdSpanToSpanEventMapper.kt 90.38% <0.00%> (-5.77%) ⬇️
...android/rum/internal/ndk/DatadogNdkCrashHandler.kt 74.10% <0.00%> (-5.42%) ⬇️
...g/android/rum/internal/domain/scope/RumEventExt.kt 82.61% <0.00%> (-4.35%) ⬇️
...nternal/tracking/OreoFragmentLifecycleCallbacks.kt 92.16% <0.00%> (-3.92%) ⬇️
...droid/rum/tracking/ActivityViewTrackingStrategy.kt 86.54% <0.00%> (-3.85%) ⬇️
...oid/src/main/kotlin/com/datadog/android/Datadog.kt 71.43% <0.00%> (-2.04%) ⬇️
...atadog/android/core/configuration/Configuration.kt 97.42% <0.00%> (-0.74%) ⬇️
... and 4 more

@xgouchet
xgouchet merged commit dfaa762 into master Nov 22, 2021
@xgouchet
xgouchet deleted the xgouchet/RUMM-1762/read_crash_from_cp branch November 22, 2021 09:52
@xgouchet xgouchet added this to the 1.12.0 milestone Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size-small This PR is small sized

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants