-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve top error analytics #50
Conversation
2b02057
to
582404e
Compare
Armadillo/src/main/java/com/scribd/armadillo/playback/ExoPlaybackExceptionExt.kt
Show resolved
Hide resolved
Armadillo/src/main/java/com/scribd/armadillo/playback/PlayerEventListener.kt
Outdated
Show resolved
Hide resolved
|
||
private fun DataSpec.toAnalyticsMap(context: Context): Map<String, String> { | ||
return mapOf( | ||
"uri" to uri.toString(), |
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.
In general it is ok to have .toString() but we won't be able to differentiate between value being null vs empty string right? We can bubble that up as well.
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.
This uri property is always non null -- also toString() returns "null" for null objects and "" for empty string
Looks good! Just had some minor comments. |
ca8bea8
to
ca195fa
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.
👍
Add additional data for audio player error analytics: