diff --git a/network/src/main/java/io/bitsquare/p2p/network/CloseConnectionReason.java b/network/src/main/java/io/bitsquare/p2p/network/CloseConnectionReason.java index 2cb8922f87..3624c04f91 100644 --- a/network/src/main/java/io/bitsquare/p2p/network/CloseConnectionReason.java +++ b/network/src/main/java/io/bitsquare/p2p/network/CloseConnectionReason.java @@ -32,4 +32,12 @@ public enum CloseConnectionReason { this.sendCloseMessage = sendCloseMessage; this.isIntended = isIntended; } + + @Override + public String toString() { + return "CloseConnectionReason{" + + "sendCloseMessage=" + sendCloseMessage + + ", isIntended=" + isIntended + + "} " + super.toString(); + } }