From eba3d1d5ac8b3e60b0c81d2fb0fa458233605557 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 9 Mar 2021 09:37:51 +0100 Subject: [PATCH] Slight crashlog improvement --- .../android/ui/modules/handhistory/editor/EditorFragment.kt | 2 +- .../android/ui/modules/handhistory/model/EditorViewModel.kt | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/editor/EditorFragment.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/editor/EditorFragment.kt index ad5e63a4..b2a98654 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/editor/EditorFragment.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/editor/EditorFragment.kt @@ -173,7 +173,7 @@ class EditorFragment : RealmFragment(), RowRepresentableDelegate, KeyboardListen } } catch (e: Exception) { val actions = this.model.actionListLogs - CrashLogging.log(actions) + CrashLogging.log("actions: $actions") throw e } diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/EditorViewModel.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/EditorViewModel.kt index caaccc23..5fb462e2 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/EditorViewModel.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/EditorViewModel.kt @@ -557,13 +557,11 @@ class EditorViewModel : ViewModel(), RowRepresentableDataSource, CardCentralizer else -> {} } } catch (e: Exception) { - CrashLogging.log(this.actionListLogs) + CrashLogging.log("actions: ${this.actionListLogs}") throw e } - this.currentAmount = null - } /***