mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-02 17:03:36 +00:00
add service check error
This commit is contained in:
parent
c514765d0b
commit
2dec088a9b
@ -35,7 +35,12 @@ ServicesMonitor.prototype.startMonitor = function() {
|
||||
check.fn.call(check.fn, function(obj) {
|
||||
self.events.emit('check:' + checkName, obj);
|
||||
});
|
||||
callback();
|
||||
}, function(err) {
|
||||
if (err) {
|
||||
self.logger.error("error running service check");
|
||||
self.logger.error(err.message);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user