remove error callback in end() call
This commit is contained in:
parent
72c519a794
commit
a0003871c2
|
@ -127,9 +127,7 @@ export class Bot {
|
|||
}
|
||||
|
||||
public endConection() {
|
||||
this.connection.end(function (err) {
|
||||
console.log(err);
|
||||
});
|
||||
this.connection.end();
|
||||
}
|
||||
|
||||
public static getInstance(): Bot {
|
||||
|
|
Loading…
Reference in New Issue