mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 07:16:47 +00:00
Tone down websocket logging for bad federated responses.
// FREEBIE
This commit is contained in:
1 parent
fd8e8d1475
commit
7cfa93f5f8
1 file changed
+3
-1
@@ -137,8 +137,10 @@ public class WebSocketConnection implements DispatchChannel {
|
||||
receiptSender.sendReceipt(account, message.getSource(), message.getTimestamp(),
|
||||
message.hasRelay() ? Optional.of(message.getRelay()) :
|
||||
Optional.<String>absent());
|
||||
} catch (IOException | NoSuchUserException | TransientPushFailureException | NotPushRegisteredException | WebApplicationException e) {
|
||||
} catch (IOException | NoSuchUserException | TransientPushFailureException | NotPushRegisteredException e) {
|
||||
logger.warn("sendDeliveryReceiptFor", e);
|
||||
} catch (WebApplicationException e) {
|
||||
logger.warn("Bad federated response for receipt: " + e.getResponse().getStatus());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user