Detekt: enable rule exceptions.SwallowedException and fix existing issue.
This commit is contained in:
parent
a9afa59053
commit
72b3decf4c
16 changed files with 20 additions and 20 deletions
|
|
@ -40,7 +40,7 @@ class SharedPreferencesFirebaseStore(
|
|||
if (k == PREFS_KEY_FCM_TOKEN) {
|
||||
try {
|
||||
flow.value = getFcmToken()
|
||||
} catch (e: Exception) {
|
||||
} catch (_: Exception) {
|
||||
flow.value = null
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue