Commit 7fe09fb9 authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: status updated if buildout process failed

parent 45d91851
...@@ -167,6 +167,13 @@ function updateStatus(elt, val) { ...@@ -167,6 +167,13 @@ function updateStatus(elt, val) {
$(src).children('p').text("Processing"); $(src).children('p').text("Processing");
break; break;
} }
// in case of failure
if ($("#salpgridLog").text().indexOf("Failed to run buildout profile") !== -1) {
var src = '#' + elt + '_run_state', value = 'state_' + "stopped";
$(src).removeClass();
$(src).addClass(value);
$(src).children('p').text("Buildout Failed");
}
} }
function setRunningState(data) { function setRunningState(data) {
......
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