stop spam error log with 502
This commit is contained in:
parent
aabebc7d74
commit
9775aef89a
|
@ -21,7 +21,7 @@ global.createMPPbridge = async function createMPPbridge({room, channel, uri}) {
|
||||||
|
|
||||||
let lastError;
|
let lastError;
|
||||||
gClient.on("error", error => {
|
gClient.on("error", error => {
|
||||||
handleError(error, `[${uri}][${room}]`);
|
//handleError(error, `[${uri}][${room}]`);
|
||||||
error = error.toString();
|
error = error.toString();
|
||||||
if (lastError != error) {
|
if (lastError != error) {
|
||||||
d.send(`**${error.toString()}**`);
|
d.send(`**${error.toString()}**`);
|
||||||
|
|
Loading…
Reference in New Issue