REPLAY-1895 use internalLogger in SR modules#1574
Conversation
eb8df90 to
5a49661
Compare
| val wireframes = snapshots.flatMap { nodeFlattener.flattenNode(it) } | ||
|
|
||
| if (wireframes.isEmpty()) { | ||
| // TODO: RUMM-2397 Add the proper logs here once the sdkLogger will be added |
There was a problem hiding this comment.
Just making sure we don't want to log anything here if there are no wireframes.
There was a problem hiding this comment.
yes we do not as it might happen and it is normal...and also there is no actionable thing I can think of right now
| } | ||
|
|
||
| companion object { | ||
| const val INVALID_RUM_CONTEXT_ERROR_MESSAGE = "SR RumContextDataHandler: Invalid RUM " + |
There was a problem hiding this comment.
Maybe we could add the context in question to better understand what is not present and make the telemetry more actionable?
|
|
||
| @Suppress("SwallowedException", "TooGenericExceptionCaught", "UnsafeThirdPartyFunctionCall") | ||
| private val GLOBAL_WM_CLASS by lazy { | ||
| try { |
There was a problem hiding this comment.
Why remove the try catches here?
There was a problem hiding this comment.
because they are all handled in that method there getGlobalViews
Codecov Report
@@ Coverage Diff @@
## develop #1574 +/- ##
===========================================
+ Coverage 83.27% 83.33% +0.06%
===========================================
Files 437 437
Lines 14763 14874 +111
Branches 2223 2225 +2
===========================================
+ Hits 12293 12394 +101
- Misses 1881 1888 +7
- Partials 589 592 +3
|
5a49661 to
e9ee78f
Compare
f6ddb43 to
05b69e2
Compare
05b69e2 to
a5520ed
Compare
What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)