Ensure that log message with non-ascii code does not raise exception
This may cause the looping task to freeze. Change-Id: Ibf1ace8f0c45a56738432028c8125154c5aa3c15
This commit is contained in:
parent
42d240a2eb
commit
9eef65739a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user