Skip to content

Commit 2fd7ed1

Browse files
committed
Catch queue processing error
1 parent 2b5e74a commit 2fd7ed1

File tree

1 file changed

+1
-1
lines changed
  • clients/soa_services/electricalConnection/js/src

1 file changed

+1
-1
lines changed

clients/soa_services/electricalConnection/js/src/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class ElectricalConnectionService extends TypedEmitter<ElectricalConnecti
114114
channel.send(JSON.stringify(packet));
115115
});
116116
await channel.ready();
117-
this.queue.start();
117+
this.queue.start().catch(err => { if(err) throw err });
118118
});
119119

120120
// find the bus set or create a new one

0 commit comments

Comments
 (0)