diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-17 13:42:18 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-17 13:42:18 -0600 |
commit | 273693e46d8b2945f5e3020f35c960728b22b1ed (patch) | |
tree | a8010e1b0304aec9389623e12460d10c784f1c2d | |
parent | 192bf6d3d84d47bde194248d899551f24dfc5a94 (diff) | |
download | etbsa-trackermap-mobile-273693e46d8b2945f5e3020f35c960728b22b1ed.tar.gz etbsa-trackermap-mobile-273693e46d8b2945f5e3020f35c960728b22b1ed.tar.bz2 etbsa-trackermap-mobile-273693e46d8b2945f5e3020f35c960728b22b1ed.zip |
Temporary fix: catch exceptions when retrieving positions
-rw-r--r-- | shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt index 21692e7..71ccbbf 100644 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt +++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/UnitsController.kt @@ -61,6 +61,9 @@ class UnitsController( } unitsFlow.value = units } + .catch { + print("Could not retrieve positions\n") + } .launchIn(scope) } |