Commit 5054680c authored by Roque's avatar Roque

erp5_notebook: notebook execution continues after cell errors

parent 61b116a8
......@@ -518,7 +518,17 @@
function deferCellExecution(cell) {
return function () {
return new RSVP.Queue()
.push(function () {
return executeCell(cell);
})
.push(undefined, function (error) {
//errors in cell execution must be part of the notebook result
//notebook execution must continue
var pre = document.createElement('pre');
pre.textContent = error;
document.body.appendChild(pre);
});
};
}
......
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