diff options
| author | Jairo Llopis <yajo.sk8@gmail.com> | 2019-03-08 10:02:30 +0000 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2019-03-08 10:46:23 +0000 |
| commit | 8da3750cee37532d2060bc0c4271a15bc1511dc2 (patch) | |
| tree | b937a04edb180b99e02e7e80de9f8e9b3882817f /addons/barcodes/static/src/js | |
| parent | d2d7f575298f57365c23d86566f7fb5ea50c284c (diff) | |
[FIX] core: remove extra exception log, redundant in P3
Reverts 2b1d3ff82dd23fb0372b3b73ecb84841a0d593d3 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: Olivier Dony (odo) <odo@openerp.com>
Diffstat (limited to 'addons/barcodes/static/src/js')
0 files changed, 0 insertions, 0 deletions
