Allow timeline to load when dstat data is unavailable

This commit is contained in:
Tim Buckley 2015-07-30 17:21:53 -06:00
parent e229f8b2a9
commit e6afab096e
1 changed files with 4 additions and 2 deletions

View File

@ -293,7 +293,9 @@ function chainLoadDstat(path, callback) {
d3.text(path, function(error, data) {
if (error) {
throw error;
console.log("Skipping load of dstat log due to error: ", error);
callback(null);
return;
}
var primaryNames = null;
@ -333,7 +335,7 @@ function chainLoadDstat(path, callback) {
return ret;
}
});
console.log(parsed);
callback(parsed);
});
}