LockFailureException: Expose ref names

Change-Id: I0bc3c077fe8e0a05e5b36987c959193058ce363e
This commit is contained in:
Dave Borowitz
2017-10-30 16:20:26 -04:00
parent f510300d31
commit 528b4d257b
4 changed files with 30 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ public class RefUpdateUtil {
}
if (lockFailure + aborted == bru.getCommands().size()) {
throw new LockFailureException("Update aborted with one or more lock failures: " + bru);
throw new LockFailureException("Update aborted with one or more lock failures: " + bru, bru);
} else if (failure > 0) {
throw new IOException("Update failed: " + bru);
}