Rebase: Don't swallow caught exception

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ie485ec39ae7acc2863823fefa39494475c302079
This commit is contained in:
Edwin Kempin
2019-08-22 10:10:15 +02:00
parent 895fdc7536
commit d265c9c9c7
2 changed files with 5 additions and 1 deletions

View File

@@ -165,7 +165,7 @@ public class Rebase extends RetryingRestModifyView<RevisionResource, RebaseInput
}
} catch (NoSuchChangeException e) {
throw new UnprocessableEntityException(
String.format("Base change not found: %s", input.base));
String.format("Base change not found: %s", input.base), e);
}
PatchSet.Id baseId = base.patchSet().id();