diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/client/MacLookup.kt b/mobile/src/main/java/be/mygod/vpnhotspot/client/MacLookup.kt index 6953d9b0..654be479 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/client/MacLookup.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/client/MacLookup.kt @@ -57,15 +57,15 @@ object MacLookup { nickname = result macLookupPending = false } - } catch (e: Exception) { - Timber.d(e) - if (explicit) SmartSnackbar.make(e).show() } catch (e: JSONException) { if ((e as? UnexpectedError)?.error == "no result") { // no vendor found, we should not retry in the future AppDatabase.instance.clientRecordDao.upsert(mac) { macLookupPending = false } } else Timber.w(e) if (explicit) SmartSnackbar.make(e).show() + } catch (e: Throwable) { + Timber.d(e) + if (explicit) SmartSnackbar.make(e).show() } } }