mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 08:40:16 +01:00
Log the error message when retrying queue send
This commit is contained in:
@@ -258,6 +258,8 @@ public class WebSocketConnection implements MessageAvailabilityListener, Displac
|
||||
processStoredMessages();
|
||||
}
|
||||
} else {
|
||||
logger.debug("Failed to clear queue", cause);
|
||||
|
||||
if (consecutiveRetries.incrementAndGet() > MAX_CONSECUTIVE_RETRIES) {
|
||||
client.close(1011, "Failed to retrieve messages");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user