Added the error information to the toString() if
there is error information to show.
This commit is contained in:
parent
8958459ef9
commit
15afcfb735
@ -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…
x
Reference in New Issue
Block a user