Merge branch 'stable-2.15' into stable-2.16
* stable-2.15: Rebase: Don't swallow caught exception Change-Id: I9d4cd56d6b4a7e2ec612e4e401b77b8e1bf73b99
This commit is contained in:
@@ -21,4 +21,8 @@ public class UnprocessableEntityException extends RestApiException {
|
||||
public UnprocessableEntityException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
public UnprocessableEntityException(String msg, Throwable cause) {
|
||||
super(msg, cause);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,7 +168,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().getId();
|
||||
|
||||
Reference in New Issue
Block a user