Skip to content

Commit eb3b339

Browse files
authored
Fixed an issue where messages weren't correctly passed to Crashlytics (#144)
1 parent 1741d8f commit eb3b339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/com/simplecityapps/shuttle/appinitializers/CrashReportingInitializer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class CrashReportingTree : Timber.Tree() {
7777
) {
7878
try {
7979
throwable?.let {
80-
Firebase.crashlytics.log("message")
80+
Firebase.crashlytics.log("tag: $tag, message: $message, throwable: ${throwable.message}")
8181
}
8282
} catch (error: Exception) {
8383
Log.e("CrashReportingTree", "Failed to log to CrashReportingTree. \n[ tag: $tag\nmessage: $message. ]", error)

0 commit comments

Comments
 (0)