1
0
Fork 0
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:
Simo Kinnunen 2014-12-18 16:29:15 +09:00
parent 2f8116dfe6
commit eb841161ac
6 changed files with 66 additions and 24 deletions

View file

@ -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