ChangeApiImpl: Don't catch bare Exception when getting past assignees
Change-Id: Iaf506c9a813a452eb7ad0639d4e8cdf225fb8284
This commit is contained in:
@@ -491,7 +491,7 @@ class ChangeApiImpl implements ChangeApi {
|
||||
public List<AccountInfo> getPastAssignees() throws RestApiException {
|
||||
try {
|
||||
return getPastAssignees.apply(change).value();
|
||||
} catch (Exception e) {
|
||||
} catch (OrmException e) {
|
||||
throw new RestApiException("Cannot get past assignees", e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user