mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix log args
Previous fix was not enough when one of the args is not a string. Courtesy of xmo
This commit is contained in:
parent
ec440e61f7
commit
22151d3566
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user