mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Detekt: enable rule exceptions.SwallowedException and fix existing issue.
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ class PushLoopbackTest(
|
||||
}
|
||||
val testPushResult = try {
|
||||
pushService.testPush(sessionId)
|
||||
} catch (pusherRejected: PushGatewayFailure.PusherRejected) {
|
||||
} catch (_: PushGatewayFailure.PusherRejected) {
|
||||
val hasQuickFix = pushService.getCurrentPushProvider(sessionId)?.canRotateToken() == true
|
||||
delegate.updateState(
|
||||
description = stringProvider.getString(R.string.troubleshoot_notifications_test_push_loop_back_failure_1),
|
||||
|
||||
Reference in New Issue
Block a user