diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java index aeabb7c23..cb4275591 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java @@ -70,7 +70,6 @@ public class WebSocketConnection { "sendMessageError"); private static final String STATUS_CODE_TAG = "status"; - private static final String STATUS_MESSAGE_TAG = "message"; private static final String ERROR_TYPE_TAG = "errorType"; private static final String EXCEPTION_TYPE_TAG = "exceptionType"; @@ -264,11 +263,6 @@ public class WebSocketConnection { } else { Tags tags = Tags.of(UserAgentTagUtil.getPlatformTag(userAgent), Tag.of(STATUS_CODE_TAG, String.valueOf(response.getStatus()))); - // TODO Remove this once we've identified the cause of message rejections from desktop clients - if (StringUtils.isNotBlank(response.getMessage())) { - tags = tags.and(Tag.of(STATUS_MESSAGE_TAG, response.getMessage())); - } - Metrics.counter(NON_SUCCESS_RESPONSE_COUNTER_NAME, tags).increment(); result = CompletableFuture.completedFuture(null);