Skip to content

Commit

Permalink
Tone down websocket logging for bad federated responses.
Browse files Browse the repository at this point in the history
// FREEBIE
  • Loading branch information
moxie0 committed Apr 22, 2015
1 parent fd8e8d1 commit 7cfa93f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ private void sendDeliveryReceiptFor(OutgoingMessageSignal message) {
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());
}
}

Expand Down

0 comments on commit 7cfa93f

Please sign in to comment.