diff options
author | Zuul <zuul@review.opendev.org> | 2019-05-15 01:30:14 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-05-15 01:30:14 +0000 |
commit | 97a6c8f8f177cdc5490862224c2feb17d8f9a71f (patch) | |
tree | df692ff0855ec2345b9b0d6c16ff393d8a079f8e | |
parent | 66d0efc53b273602fa4d696bad810ed2cfb88dbe (diff) | |
parent | 9eef65739a347a07b296bc77d739be31be7e2180 (diff) | |
download | oslo-vmware-97a6c8f8f177cdc5490862224c2feb17d8f9a71f.tar.gz |
Merge "Ensure that log message with non-ascii code does not raise exception"
-rw-r--r-- | oslo_vmware/common/loopingcall.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/oslo_vmware/common/loopingcall.py b/oslo_vmware/common/loopingcall.py index c50832f..0cc9ed5 100644 --- a/oslo_vmware/common/loopingcall.py +++ b/oslo_vmware/common/loopingcall.py @@ -85,9 +85,7 @@ class FixedIntervalLoopingCall(LoopingCallBase): except LoopingCallDone as e: self.stop() done.send(e.retvalue) - except Exception as e: - LOG.error('in fixed duration looping call. Error: %s', - str(e)) + except Exception: done.send_exception(*sys.exc_info()) return else: |