diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-07-14 10:48:25 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-07-14 11:43:24 +0200 |
| commit | dcbd66a3eb9509f5404eef9d7ba1b62c1c8e0332 (patch) | |
| tree | 60364994c3ae48c26185e8c3b0e664a56cece156 /addons/web/static/src/js | |
| parent | 23fa18ce0341abde6890e44076f6f708a5ca4566 (diff) | |
[IMP] boot.js: use console.error instead of console.warn to make the runbot in red when there's an error in a javascript module
Diffstat (limited to 'addons/web/static/src/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 e9b7050cc19..19fb4c51204 100644 --- a/addons/web/static/src/js/boot.js +++ b/addons/web/static/src/js/boot.js @@ -145,7 +145,7 @@ } var missing = odoo.__DEBUG__.get_missing_jobs(); var failed = odoo.__DEBUG__.get_failed_jobs(); - console.warn('Warning: Some modules could not be started !'+ + console.error('Warning: Some modules could not be started !'+ '\nMissing dependencies: ', !missing.length ? null : missing, '\nFailed modules: ', _.isEmpty(failed) ? null : _.map(failed, function (job) {return job.name;}), '\nUnloaded modules: ', _.isEmpty(debug_jobs) ? null : debug_jobs); |
