fixed transit status

master
cheetah 2 years ago
parent a866aa79c4
commit fe9a419318

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

Loading…
Cancel
Save