mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
Error if unable to resolve endpoints.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user