diff options
| author | Géry Debongnie <ged@odoo.com> | 2018-10-16 08:44:29 +0000 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-10-16 08:44:29 +0000 |
| commit | d91f0ce95d0f4732c3646ffb1249c0cb78dd737b (patch) | |
| tree | 0a52ff50bd8f8b247d36a08fe4b5c99538081534 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | a19eb47caa628761424fb512bd3569f9d3020e26 (diff) | |
[IMP] web: log error when module crashes at loading
Before this commit, if a JS module caused an error while being
evaluated, the error was silently swallowed (and only logged in debug
mode, in the extra information about the state of all modules).
With this commit, we always log the error in the console. Note that
this only applies to JS execution errors. If a file has invalid
javascript structure, then a parsing error will happen, even before the
module system has the possibility to do anythin.
closes odoo/odoo#27836
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
