Slight crashlog improvement

blinds
Laurent 5 years ago
parent d911a05359
commit eba3d1d5ac
  1. 2
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/editor/EditorFragment.kt
  2. 4
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/EditorViewModel.kt

@ -173,7 +173,7 @@ class EditorFragment : RealmFragment(), RowRepresentableDelegate, KeyboardListen
} }
} catch (e: Exception) { } catch (e: Exception) {
val actions = this.model.actionListLogs val actions = this.model.actionListLogs
CrashLogging.log(actions) CrashLogging.log("actions: $actions")
throw e throw e
} }

@ -557,13 +557,11 @@ class EditorViewModel : ViewModel(), RowRepresentableDataSource, CardCentralizer
else -> {} else -> {}
} }
} catch (e: Exception) { } catch (e: Exception) {
CrashLogging.log(this.actionListLogs) CrashLogging.log("actions: ${this.actionListLogs}")
throw e throw e
} }
this.currentAmount = null this.currentAmount = null
} }
/*** /***

Loading…
Cancel
Save