From dcbd66a3eb9509f5404eef9d7ba1b62c1c8e0332 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Tue, 14 Jul 2015 10:48:25 +0200 Subject: [PATCH] [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 --- addons/web/static/src/js/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);