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