Log gerrit comment
Always log the gerrit comment, and when running in nocomment just don't send it to gerrit. This helps make testing changes to the gerrit comment easier. Change-Id: Ie26b86ed374d284154389b4bd5a86b9d2f365800
This commit is contained in:
@@ -193,11 +193,9 @@ class RecheckWatch(threading.Thread):
|
||||
self._read(event)
|
||||
else:
|
||||
self._read(event)
|
||||
if self.commenting:
|
||||
stream.leave_comment(
|
||||
event.project,
|
||||
event.name(),
|
||||
event.bugs)
|
||||
stream.leave_comment(
|
||||
event,
|
||||
debug=not self.commenting)
|
||||
except er.ResultTimedOut as e:
|
||||
LOG.warn(e.msg)
|
||||
self._read(msg=e.msg)
|
||||
|
||||
Reference in New Issue
Block a user