From 22151d356691ca0a47a7c42b03b9cf50b77a847f Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Thu, 14 Nov 2024 15:34:27 +0100 Subject: [PATCH] [FIX] runbot: fix log args Previous fix was not enough when one of the args is not a string. Courtesy of xmo --- runbot/models/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/build.py b/runbot/models/build.py index 604a3e61..bf787b00 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -996,7 +996,7 @@ class BuildResult(models.Model): message = message % args except TypeError: _logger.exception(f'Error while formating `{message}` with `{args}`') - message = ' ' .join([message] + list(args)) + message = ' ' .join([message, *map(str, args)]) message = truncate(message)