ReceiveCommits: Fix error message if auto-closing changes fails
Auto-closing changes can fail for different reasons, failing to scan changes to auto-close is only one of the possible reasons. Make the error message more generic so that it doesn't imply a wrong cause. Change-Id: I85e70e8ba5906f3a17453cc73273865b0100ac28 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -2918,7 +2918,7 @@ class ReceiveCommits {
|
||||
} catch (RestApiException e) {
|
||||
logError("Can't insert patchset", e);
|
||||
} catch (IOException | OrmException | UpdateException | PermissionBackendException e) {
|
||||
logError("Can't scan for changes to close", e);
|
||||
logError("Failed to auto-close changes", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user