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