restarted notification

This commit is contained in:
Ben
2023-07-09 20:28:50 -04:00
parent e9ae1853af
commit bca122833c
3 changed files with 13 additions and 2 deletions
+2 -1
View File
@@ -83,8 +83,9 @@ export class StratumV1Client extends EasyUnsubscribe {
try {
parsedMessage = JSON.parse(message);
} catch (e) {
console.log(e);
console.log("Invalid JSON");
this.promiseSocket.end();
return;
}
switch (parsedMessage.method) {