mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 03:14:35 +02:00
Attempt to solve hanging up lacking response
This commit is contained in:
@@ -66,6 +66,7 @@ client.on('message', async msg => {
|
|||||||
if (origin) await origin.send(origin.recipient, msg);
|
if (origin) await origin.send(origin.recipient, msg);
|
||||||
if (recipient) await recipient.send(recipient.origin, msg);
|
if (recipient) await recipient.send(recipient.origin, msg);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.log(err);
|
||||||
return; // eslint-disable-line no-useless-return
|
return; // eslint-disable-line no-useless-return
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user