EventFactory: Log PatchListNotAvailableException always as error
There is only one place where PatchListNotAvailableException is logged
as a warning, everywhere else (EventFactory, ChangeAbandoned,
ChangeMerged, ...) it is logged as an error. Make this consistent.
Change-Id: I0104a280c984e2c8244618fa518b320bad0407af
Signed-off-by: Edwin Kempin <ekempin@google.com>
(cherry picked from commit 1ea84c5d83
)
This commit is contained in:
parent
933ca6dd47
commit
e149c14239
@ -426,7 +426,7 @@ public class EventFactory {
|
||||
patchSetAttribute.files.add(p);
|
||||
}
|
||||
} catch (PatchListNotAvailableException e) {
|
||||
log.warn("Cannot get patch list", e);
|
||||
log.error("Cannot get patch list", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user