diff options
| author | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2015-08-12 17:54:00 +0200 |
|---|---|---|
| committer | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2015-08-12 17:54:00 +0200 |
| commit | 37868748cac5ba1c428d167f9933afe52b6fcb91 (patch) | |
| tree | e346ded30703bb2e0ca81a980a0dc316dbb6e566 /addons/web/static/src/js/boot.js | |
| parent | 72e94beeb5c12602bbe71ea68bf22f48c3032047 (diff) | |
[FIX] web: serialize debug_jobs
Otherwise the display in the server log (when spammed by phantomjs) is completely useless
Diffstat (limited to 'addons/web/static/src/js/boot.js')
| -rw-r--r-- | addons/web/static/src/js/boot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js index 97e3e121a6f..cb4f45f3fdb 100644 --- a/addons/web/static/src/js/boot.js +++ b/addons/web/static/src/js/boot.js @@ -189,7 +189,7 @@ if (!_.isEmpty(rejected)) log.push('\nRejected modules: ', rejected); if (!_.isEmpty(rejected_linked))log.push('\nRejected linked modules:', rejected_linked); if (!_.isEmpty(unloaded)) log.push('\nNon loaded modules: ', _.pluck(unloaded, 'name')); - if (!_.isEmpty(debug_jobs)) log.push('\nDebug: ', debug_jobs); + if (!_.isEmpty(debug_jobs)) log.push('\nDebug: ', JSON.stringify(debug_jobs)); console[_.isEmpty(unloaded) ? 'info' : 'error'].apply(console, log); } }, |
