BatchRefUpdate: Include command message in toString()
Change-Id: I359f33af5aa84af77c3628e6cd9a5ee3f7f38d49
This commit is contained in:
parent
4f0ebc4c3c
commit
ba8eb93173
|
@ -487,7 +487,11 @@ public String toString() {
|
||||||
for (ReceiveCommand cmd : commands) {
|
for (ReceiveCommand cmd : commands) {
|
||||||
r.append(" "); //$NON-NLS-1$
|
r.append(" "); //$NON-NLS-1$
|
||||||
r.append(cmd);
|
r.append(cmd);
|
||||||
r.append(" (").append(cmd.getResult()).append(")\n"); //$NON-NLS-1$ //$NON-NLS-2$
|
r.append(" (").append(cmd.getResult()); //$NON-NLS-1$
|
||||||
|
if (cmd.getMessage() != null) {
|
||||||
|
r.append(": ").append(cmd.getMessage()); //$NON-NLS-1$
|
||||||
|
}
|
||||||
|
r.append(")\n"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
return r.append(']').toString();
|
return r.append(']').toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue