Fail with error rather than silently on storage init problems.

This commit is contained in:
Mark Hindess
2014-07-22 13:43:03 +01:00
parent 55679694c9
commit f331d906b4
2 changed files with 5 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ function start() {
redNodes.loadFlows();
});
comms.start();
}).otherwise(function(err) {
defer.reject(err);
});
return defer.promise;