diff options
author | Zuul <zuul@review.opendev.org> | 2019-04-23 21:31:50 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-04-23 21:31:50 +0000 |
commit | dda60b5204a137508a6412d7f87ae01922f0bf06 (patch) | |
tree | 197ea25b5fded1850abc12a81e0c9c9e2343ac9a | |
parent | e6619fa1566acd970844e121cb0fce16b52f4755 (diff) | |
parent | b6b6e7bdd4064a1c216f453323a270a1c7566dbb (diff) | |
download | oslo-vmware-dda60b5204a137508a6412d7f87ae01922f0bf06.tar.gz |
Merge "When looping call fails do not log the exception trace"
-rw-r--r-- | oslo_vmware/common/loopingcall.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oslo_vmware/common/loopingcall.py b/oslo_vmware/common/loopingcall.py index 489b198..c50832f 100644 --- a/oslo_vmware/common/loopingcall.py +++ b/oslo_vmware/common/loopingcall.py @@ -85,8 +85,9 @@ class FixedIntervalLoopingCall(LoopingCallBase): except LoopingCallDone as e: self.stop() done.send(e.retvalue) - except Exception: - LOG.exception('in fixed duration looping call') + except Exception as e: + LOG.error('in fixed duration looping call. Error: %s', + str(e)) done.send_exception(*sys.exc_info()) return else: |