summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-05-15 01:30:14 +0000
committerGerrit Code Review <review@openstack.org>2019-05-15 01:30:14 +0000
commit97a6c8f8f177cdc5490862224c2feb17d8f9a71f (patch)
treedf692ff0855ec2345b9b0d6c16ff393d8a079f8e
parent66d0efc53b273602fa4d696bad810ed2cfb88dbe (diff)
parent9eef65739a347a07b296bc77d739be31be7e2180 (diff)
downloadoslo-vmware-97a6c8f8f177cdc5490862224c2feb17d8f9a71f.tar.gz
Merge "Ensure that log message with non-ascii code does not raise exception"
-rw-r--r--oslo_vmware/common/loopingcall.py4
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: