Detekt: enable rule exceptions.SwallowedException and fix existing issue.
This commit is contained in:
@@ -40,7 +40,7 @@ class SharedPreferencesFirebaseStore(
|
||||
if (k == PREFS_KEY_FCM_TOKEN) {
|
||||
try {
|
||||
flow.value = getFcmToken()
|
||||
} catch (e: Exception) {
|
||||
} catch (_: Exception) {
|
||||
flow.value = null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user