Commit 1bd374be authored by Boris Kocherov's avatar Boris Kocherov

fix issue random "CancelError" if sheet contain cells with errors

parent d95dc894
...@@ -321,7 +321,8 @@ ...@@ -321,7 +321,8 @@
scheme.execute = null; scheme.execute = null;
scheme.hierarchies = []; scheme.hierarchies = [];
}) })
.push(undefined, function () { .push(undefined, function (error) {
console.error(error);
scheme.execute = null; scheme.execute = null;
scheme.hierarchies = []; scheme.hierarchies = [];
}); });
...@@ -625,8 +626,11 @@ ...@@ -625,8 +626,11 @@
}) })
.push(undefined, function (error) { .push(undefined, function (error) {
// issue in one cell(cubevalue) not stop calculation in other // issue in one cell(cubevalue) not stop calculation in other
return waiter() return new RSVP.Queue()
.then(function () { .push(function () {
return waiter();
})
.push(function () {
return error_handler(current_cell_id)(error); return error_handler(current_cell_id)(error);
}); });
}); });
......
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