Skip to content
Snippets Groups Projects
Commit 8da3750c authored by Jairo Llopis's avatar Jairo Llopis Committed by Olivier Dony
Browse files

[FIX] core: remove extra exception log, redundant in P3

Reverts 2b1d3ff8 introduced in 10.0 via

It was relatively useful in Odoo 10.0 because in Python 2 the exception
was missing a root cause traceback. But Python 3 includes exception
chaining by default, so it comes for free.
See [PEP3134](https://legacy.python.org/dev/peps/pep-3134/

)

On top of being redundant in P3, it can also break some testcases
by causing an extra ERROR log entry, even when the final exception is
expected and caught. So it's simpler to remove it.

closes odoo/odoo#31699

Signed-off-by: default avatarOlivier Dony (odo) <odo@openerp.com>
parent d2d7f575
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment