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:
Edwin Kempin 2018-05-07 15:18:38 +02:00 committed by David Pursehouse
parent 933ca6dd47
commit e149c14239

View File

@ -426,7 +426,7 @@ public class EventFactory {
patchSetAttribute.files.add(p); patchSetAttribute.files.add(p);
} }
} catch (PatchListNotAvailableException e) { } catch (PatchListNotAvailableException e) {
log.warn("Cannot get patch list", e); log.error("Cannot get patch list", e);
} }
} }