[actions] fix exception when 'msg' is not a string (#5683)
This commit is contained in:
@@ -105,6 +105,7 @@ class LoggerAdapterActions():
|
||||
self.error = functools.partial(self.log, logging.ERROR)
|
||||
|
||||
def log(self, level, msg, *args, **kwargs):
|
||||
msg = str(msg)
|
||||
if args:
|
||||
msg = msg % args
|
||||
|
||||
|
||||
Reference in New Issue
Block a user