MergeOp: Include full BatchRefUpdate in update failure exception
Change-Id: I0d9d5c95cff616cb5fbd170b683fb355c2858e7f
This commit is contained in:
@@ -722,9 +722,10 @@ public class MergeOp {
|
||||
} else {
|
||||
msg = "will not retry";
|
||||
}
|
||||
throw new IOException(cmd.getResult().name() + ", " + msg);
|
||||
throw new IOException(cmd.getResult().name() + ", " + msg
|
||||
+ '\n' + branchUpdate);
|
||||
default:
|
||||
throw new IOException(cmd.getResult().name());
|
||||
throw new IOException(cmd.getResult().name() + '\n' + branchUpdate);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new MergeException("Cannot update " + destBranch.get(), e);
|
||||
|
Reference in New Issue
Block a user