Commit 71c4f32f authored by Steven Jones's avatar Steven Jones

Issue #1549210 by Steven Jones: Fixed Drush 'failed' errors are not correctly logged.

parent 7f179b10
......@@ -788,20 +788,21 @@ function _hosting_task_log_table($vid) {
*/
function _hosting_task_log_class($type) {
switch (strtolower($type)) {
case "warning" :
case "warning":
$type = "warning";
break;
case "error" :
case "error":
case "failed":
$type = "error";
break;
case "queue" :
case "queue":
$type = "queue";
break;
case "command" :
case "notice" :
case "command":
case "notice":
$type = "info";
break;
default:
default:
$type = 'success';
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment