fixed transit status

master
cheetah 2 years ago
parent a866aa79c4
commit fe9a419318

@ -88,10 +88,18 @@ class eMessagePuppeteerConnector extends Connector {
try {
await sendPromise()
.then(_=>{
this.connectorRegistry.reportState(msg, UUID, 'transit')
return true
})
} catch (e1) {
console.error(e1)
try {
await sendPromise()
.then(_=>{
this.connectorRegistry.reportState(msg, UUID, 'transit')
return true
})
} catch (e2) {
console.error(e2)
await sendPromise()

Loading…
Cancel
Save