Browse Source

Added the error information to the toString() if
there is error information to show.

Paul Speed 10 years ago
parent
commit
15afcfb735

+ 1 - 0
jme3-networking/src/main/java/com/jme3/network/service/rpc/msg/RpcResponseMessage.java

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