Don't hide exception in _processCatJobs

When an exception in _processCatJobs happens we catch the exception
and emit a debug message without further information. Instead log with
the exception information.

Change-Id: I62daadf624ba604044d8c4b0566530d54a3ce7af
This commit is contained in:
Tobias Henkel
2021-09-04 08:37:26 +02:00
parent 2bab33a5db
commit 0290b778ea

View File

@@ -1821,7 +1821,7 @@ class TenantParser(object):
try:
self._processCatJobs(abide, tenant, loading_errors, jobs)
except Exception:
self.log.debug("Error processing cat jobs, canceling")
self.log.exception("Error processing cat jobs, canceling")
for job in jobs:
try:
self.log.debug("Canceling cat job %s", job)