[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

This commit is contained in:
Christophe Matthieu
2015-07-14 11:43:24 +02:00
parent 23fa18ce03
commit dcbd66a3eb
+1 -1
View File
@@ -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);