Merge "Improve logging on reconfiguration" into feature/zuulv3

This commit is contained in:
Jenkins 2017-07-11 18:41:43 +00:00 committed by Gerrit Code Review
commit 538e34d6f5
2 changed files with 3 additions and 0 deletions

View File

@ -1167,6 +1167,8 @@ class TenantParser(object):
# This is important for correct inheritance.
TenantParser.log.debug("Waiting for cat job %s" % (job,))
job.wait()
TenantParser.log.debug("Cat job %s got files %s" %
(job, job.files))
loaded = False
files = sorted(job.files.keys())
for conf_root in ['zuul.yaml', '.zuul.yaml', 'zuul.d', '.zuul.d']:

View File

@ -779,6 +779,7 @@ class Scheduler(threading.Thread):
self.log.error("Unable to handle event %s" % event)
event.done()
except Exception:
self.log.exception("Exception in management event:")
event.exception(sys.exc_info())
self.management_event_queue.task_done()