[FIX] hw_drivers: typo in ExceptionLogger
Exceptions were not logged correctly due to a typo in ExceptionLogger. closes odoo/odoo#51191 X-original-commit: 9ac2ad249bddc631de9a9d587058d6109918f584 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com> Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
This commit is contained in:
@@ -123,7 +123,7 @@ class ExceptionLogger:
|
||||
|
||||
def write(self, message):
|
||||
if message != '\n':
|
||||
self.logger.err(message)
|
||||
self.logger.error(message)
|
||||
|
||||
def flush(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user