summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-10-16 08:44:29 +0000
committerGéry Debongnie <ged@odoo.com>2018-10-16 08:44:29 +0000
commitd91f0ce95d0f4732c3646ffb1249c0cb78dd737b (patch)
tree0a52ff50bd8f8b247d36a08fe4b5c99538081534 /addons/web/static/src/js/fields/basic_fields.js
parenta19eb47caa628761424fb512bd3569f9d3020e26 (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