Merge pull request #50038 from s0undt3ch/2018.3

Don't squash the traceback
This commit is contained in:
Nicole Thomas 2018-10-15 16:36:55 -04:00 committed by GitHub
commit 8a6b4357f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1182,7 +1182,7 @@ class LocalClient(object):
# stop the iteration, since the jid is invalid
raise StopIteration()
except Exception as exc:
log.warning('Returner unavailable: %s', exc)
log.warning('Returner unavailable: %s', exc, exc_info_on_loglevel=logging.DEBUG)
# Wait for the hosts to check in
last_time = False
# iterator for this job's return