Merge pull request #484 from embark-framework/bug_fix/error-connection

fix blockchain already booted
This commit is contained in:
Iuri Matias 2018-06-05 16:06:49 -04:00 committed by GitHub
commit 8fe354fa76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ class ServicesMonitor {
this.checkState = {};
this.working = false;
self.events.setCommandHandler("services:register", (checkName, checkFn, time) => {
self.addCheck(checkName, checkFn, time);
self.events.setCommandHandler("services:register", (checkName, checkFn, time, initialStatus) => {
self.addCheck(checkName, checkFn, time, initialStatus);
});
}
}