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