Added the error information to the toString() if

there is error information to show.
cleanup_build_scripts
Paul Speed 9 years ago
parent 8958459ef9
commit 15afcfb735
  1. 1
      jme3-networking/src/main/java/com/jme3/network/service/rpc/msg/RpcResponseMessage.java

@ -84,6 +84,7 @@ public class RpcResponseMessage extends AbstractMessage {
@Override @Override
public String toString() { public String toString() {
return getClass().getSimpleName() + "[#" + msgId + ", result=" + result return getClass().getSimpleName() + "[#" + msgId + ", result=" + result
+ (error != null ? ", error=" + error : "")
+ "]"; + "]";
} }
} }

Loading…
Cancel
Save