1
0
Fork 0
master
Matthew 2021-08-09 14:30:51 -04:00
parent 60f8c78180
commit 96d47a040c
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export default class Context {
public send(v: string) { public send(v: string) {
console.log('writing or whateva'); console.log('writing or whateva');
this.socket.write(`${v.toString()}\n`, (err) => console.error(err)); this.socket.write(`${v.toString()}\n`, (err) => this.client.signale.error(`Error occurred while writing: ${err}`));
this.socket.destroy(); this.socket.destroy();
} }
} }