From bad5f923aab1c73f0c91976abd33adf8e980c418 Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Thu, 11 May 2023 10:49:55 +1000 Subject: [PATCH] fix: re-poll on fail in case that was breaking anything --- .../libsession/messaging/sending_receiving/pollers/Poller.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/Poller.kt b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/Poller.kt index 224bfbeeaa..e9e64fc287 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/Poller.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/sending_receiving/pollers/Poller.kt @@ -239,6 +239,9 @@ class Poller(private val configFactory: ConfigFactoryProtocol, debounceTimer: Ti } poll(snode, deferred) } + }.fail { + Log.e("Loki", "Failed to get raw batch response", it) + poll(snode, deferred) } } }