mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-03 05:03:04 +00:00
suppress generic exception handling warnings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
3c4714f716
commit
71bffc0ea8
@ -195,6 +195,7 @@ class GeocodingController(args: Bundle) :
|
||||
return true
|
||||
}
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
private suspend fun executeGeocodingRequest() {
|
||||
var results: ArrayList<Address> = ArrayList()
|
||||
try {
|
||||
|
@ -136,6 +136,7 @@ class LocationPickerController(args: Bundle) :
|
||||
initMap()
|
||||
}
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
override fun onDetach(view: View) {
|
||||
super.onDetach(view)
|
||||
try {
|
||||
@ -430,6 +431,7 @@ class LocationPickerController(args: Bundle) :
|
||||
return true
|
||||
}
|
||||
|
||||
@Suppress("Detekt.TooGenericExceptionCaught")
|
||||
private suspend fun executeGeocodingRequest(lat: Double, lon: Double) {
|
||||
var address: Address? = null
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user