mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[FIX] runbot: pass build in error in case of log critical
This commit is contained in:
parent
8c70e44ae9
commit
409bd9a349
@ -40,7 +40,7 @@ class IrLogging(models.Model):
|
||||
if build.local_state != 'running':
|
||||
if ir_log['level'].upper() == 'WARNING':
|
||||
build.local_result = 'warn'
|
||||
elif ir_log['level'].upper() == 'ERROR':
|
||||
elif ir_log['level'].upper() not in ('INFO', 'SEPARATOR', ''):
|
||||
build.local_result = 'ko'
|
||||
return super().create(vals_list)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user