mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
Error if unable to resolve endpoints.
This commit is contained in:
parent
2f8116dfe6
commit
eb841161ac
6 changed files with 66 additions and 24 deletions
|
@ -81,6 +81,10 @@ module.exports = function(options) {
|
|||
})
|
||||
})
|
||||
})
|
||||
.catch(function(err) {
|
||||
log.fatal('Unable to connect to push endpoint', err)
|
||||
lifecycle.fatal()
|
||||
})
|
||||
|
||||
// Input
|
||||
var sub = zmq.socket('sub')
|
||||
|
@ -93,6 +97,10 @@ module.exports = function(options) {
|
|||
})
|
||||
})
|
||||
})
|
||||
.catch(function(err) {
|
||||
log.fatal('Unable to connect to sub endpoint', err)
|
||||
lifecycle.fatal()
|
||||
})
|
||||
|
||||
// Establish always-on channels
|
||||
;[solo].forEach(function(channel) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue