bandaid fix time

This commit is contained in:
modeco80
2024-06-19 18:16:16 -04:00
parent 0d34bb1c8e
commit e798ff5c86

View File

@@ -78,7 +78,10 @@ export class User {
if (!this.socket.isOpen()) return;
clearInterval(this.nopSendInterval);
this.nopSendInterval = setInterval(() => this.sendNop(), 5000);
this.socket.send(msg);
this.socket.send(msg)
.catch((err: Error) => {
this.logger.Error(`bandaid fix: ${err.message}`);
});
}
private onNoMsg() {