Skip to content
Snippets Groups Projects
user avatar
Jairo Llopis authored
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>
8da3750c
History
Name Last commit Last update