only print unrecognized errors in gate
Change-Id: I9ef432c2104e5cd0e1a760816e055263f7c465c7
This commit is contained in:
@@ -115,12 +115,16 @@ class RecheckWatch(threading.Thread):
|
||||
LPCACHEDIR)
|
||||
|
||||
def new_error(self, channel, event):
|
||||
msg = ('%s change: %s failed %s in the %s queue with an unrecognized '
|
||||
'error' % (event.project,
|
||||
event.url,
|
||||
', '.join(event.failed_jobs),
|
||||
event.queue()))
|
||||
self.print_msg(channel, msg)
|
||||
# only on gate fails
|
||||
queue = event.queue()
|
||||
if queue == "gate":
|
||||
msg = ('%s change: %s failed %s in the %s queue with'
|
||||
' an unrecognized error' %
|
||||
(event.project,
|
||||
event.url,
|
||||
', '.join(event.failed_jobs),
|
||||
queue))
|
||||
self.print_msg(channel, msg)
|
||||
|
||||
def error_found(self, channel, event):
|
||||
msg = ('%s change: %s failed %s because of: %s' % (
|
||||
|
||||
Reference in New Issue
Block a user