Il during the scheduler an exception append, the error is not correctly logged. This PR allow to catch the error with logger analyser (like sentry). closes odoo/odoo#82648 X-original-commit: c68e1d1c13d116bda6b91fcbbcd61a26739a9894 Signed-off-by: Raphael Collet <rco@odoo.com> Co-authored-by: Raphael Collet <rco@odoo.com>