logging
parent
cc4cd3d06c
commit
0da741f453
|
@ -29,7 +29,7 @@ export default class Context {
|
||||||
}
|
}
|
||||||
|
|
||||||
public send(v: string) {
|
public send(v: string) {
|
||||||
this.socket.write(`${v.toString()}\r\n`, (err) => {
|
this.socket.write(`${v.toString()}\n`, (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
this.client.signale.error(`Error occurred while writing: ${err}`);
|
this.client.signale.error(`Error occurred while writing: ${err}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue