Tone down websocket logging for bad federated responses.
// FREEBIE
This commit is contained in:
parent
fd8e8d1475
commit
7cfa93f5f8
|
@ -137,8 +137,10 @@ public class WebSocketConnection implements DispatchChannel {
|
||||||
receiptSender.sendReceipt(account, message.getSource(), message.getTimestamp(),
|
receiptSender.sendReceipt(account, message.getSource(), message.getTimestamp(),
|
||||||
message.hasRelay() ? Optional.of(message.getRelay()) :
|
message.hasRelay() ? Optional.of(message.getRelay()) :
|
||||||
Optional.<String>absent());
|
Optional.<String>absent());
|
||||||
} catch (IOException | NoSuchUserException | TransientPushFailureException | NotPushRegisteredException | WebApplicationException e) {
|
} catch (IOException | NoSuchUserException | TransientPushFailureException | NotPushRegisteredException e) {
|
||||||
logger.warn("sendDeliveryReceiptFor", e);
|
logger.warn("sendDeliveryReceiptFor", e);
|
||||||
|
} catch (WebApplicationException e) {
|
||||||
|
logger.warn("Bad federated response for receipt: " + e.getResponse().getStatus());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue