mirror of
https://github.com/home-assistant/android
synced 2024-07-22 10:54:12 +00:00
Catch Geocoder exceptions on Android 13 (#3021)
- Switch from Error to Exception on errors which will be caught
This commit is contained in:
parent
1b1c2bb672
commit
0e3d50960f
|
@ -158,7 +158,7 @@ class GeocodeSensorManager : SensorManager {
|
|||
}
|
||||
|
||||
override fun onError(errorMessage: String?) {
|
||||
cont.resumeWithException(Error(errorMessage))
|
||||
cont.resumeWithException(Exception(errorMessage))
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue