[actions] fix exception when 'msg' is not a string (#5683)

This commit is contained in:
Mike Fährmann
2024-06-17 22:59:20 +02:00
parent 4727ad6f57
commit 9671bd6d40

View File

@@ -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