Skip to content

Commit

Permalink
Add send message logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NaikSoftware committed Mar 1, 2017
1 parent eb74d88 commit 603b24a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public Observable<Void> send(String stompMessage) {
if (mWebSocketClient == null) {
subscriber.onError(new IllegalStateException("Not connected yet"));
} else {
Log.d(TAG, "Send STOMP message: " + stompMessage);
mWebSocketClient.send(stompMessage);
subscriber.onCompleted();
}
Expand Down

0 comments on commit 603b24a

Please sign in to comment.