mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +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
|
@ -27,6 +27,10 @@ module.exports = function(options) {
|
|||
})
|
||||
})
|
||||
})
|
||||
.catch(function(err) {
|
||||
log.fatal('Unable to connect to app dealer endpoint', err)
|
||||
lifecycle.fatal()
|
||||
})
|
||||
|
||||
appDealer.on('message', function(channel, data) {
|
||||
devDealer.send([channel, data])
|
||||
|
@ -43,6 +47,10 @@ module.exports = function(options) {
|
|||
})
|
||||
})
|
||||
})
|
||||
.catch(function(err) {
|
||||
log.fatal('Unable to connect to dev dealer endpoint', err)
|
||||
lifecycle.fatal()
|
||||
})
|
||||
|
||||
devDealer.on('message', wirerouter()
|
||||
// Provider messages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue