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