forked from engineering/cloudservices
logging
parent
fb3ec73898
commit
60f8c78180
|
@ -29,7 +29,8 @@ export default class Context {
|
|||
}
|
||||
|
||||
public send(v: string) {
|
||||
this.socket.write(`${v.toString()}\n`);
|
||||
console.log('writing or whateva');
|
||||
this.socket.write(`${v.toString()}\n`, (err) => console.error(err));
|
||||
this.socket.destroy();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue