summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorMohammed Shekha <msh@odoo.com>2020-08-21 09:46:34 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2020-08-21 14:33:45 +0000
commit1ca3a590f7399f1379eea02c83eaa6046856a795 (patch)
tree264e2f0b49f1ba7b6b68a1a0fdf3aa3598b6fb0b /addons/mail/static/src/models/thread_cache/thread_cache.js
parent6a5ee406d81513e20baf1bdd610ca56c8348d6ec (diff)
[FIX] web: crash manager correctly formats error message in Firefox
Have a piece of code that throws an Error In browsers not powered by V8, the stack trace won't be formatted and the Error type won't appear in the crash manager modal report. This happens because Error.prototype.stack is non-standard, although most browsers have an implementation of it. Chrome for example automatically formats the Error. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error https://v8.dev/docs/stack-trace-api\#compatibility After this commit, the Error is formatted in the crash manager report, the same way as Chrome does it. task-2191727 closes odoo/odoo#56318 X-original-commit: dbf670f2e0ec797aeaf998aa28b32afbdd2c3b4c Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com> Co-authored-by: Lucas Perais <lpe@odoo.com> Co-authored-by: Hardik Prajapati <hap@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions