diff options
| author | Jairo Llopis <yajo.sk8@gmail.com> | 2018-11-13 10:27:03 +0000 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2019-02-20 09:47:56 +0000 |
| commit | 2b1d3ff82dd23fb0372b3b73ecb84841a0d593d3 (patch) | |
| tree | ed2e859ee462e3e4c68294b4a0d3ec5f001c9c19 /doc/reference/javascript_reference.rst | |
| parent | 6cf4f4924b0e18343ee68503403e9d249558e101 (diff) | |
[FIX] core: log unexpected validation exceptions
Before this patch, any exception raised by a constraint method that
were not of type `ValidationError` were hard to debug, because the
origin line was never logged.
Explicitly logging the error (with traceback) when we catch it
ensures proper contextual info, even in the absence of exception
chaining.
closes odoo/odoo#28612
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
