From 15afcfb7357b36dd9c06f0856fe9c0b539ceebd7 Mon Sep 17 00:00:00 2001 From: Paul Speed Date: Sat, 5 Dec 2015 04:05:49 -0500 Subject: [PATCH] Added the error information to the toString() if there is error information to show. --- .../com/jme3/network/service/rpc/msg/RpcResponseMessage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jme3-networking/src/main/java/com/jme3/network/service/rpc/msg/RpcResponseMessage.java b/jme3-networking/src/main/java/com/jme3/network/service/rpc/msg/RpcResponseMessage.java index efb0def6a..c8ca8083a 100644 --- a/jme3-networking/src/main/java/com/jme3/network/service/rpc/msg/RpcResponseMessage.java +++ b/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 : "") + "]"; } }