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

[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
parent 6cf4f492
No related branches found
No related tags found
No related merge requests found
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