Log 'Received unrecognized event type' as warning
Since zuul continues to function when it receives an unknown event,
let's reduce the log level to a warning.
Change-Id: If0f763f47b3d775410f608876babb5fa8f69ae96
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
diff --git a/zuul/connection/gerrit.py b/zuul/connection/gerrit.py
index f8e5add..4671ff9 100644
--- a/zuul/connection/gerrit.py
+++ b/zuul/connection/gerrit.py
@@ -94,7 +94,7 @@
try:
event.account = data.get(accountfield_from_type[event.type])
except KeyError:
- self.log.error("Received unrecognized event type '%s' from Gerrit.\
+ self.log.warning("Received unrecognized event type '%s' from Gerrit.\
Can not get account information." % event.type)
event.account = None