From edaec1fd0fe615ab9cdadb60f3dab7b9bddf59a3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 28 Feb 2020 15:48:09 -0500 Subject: [PATCH] Attempt to solve hanging up lacking response --- Xiao.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Xiao.js b/Xiao.js index cca684e2..584662fe 100644 --- a/Xiao.js +++ b/Xiao.js @@ -66,6 +66,7 @@ client.on('message', async msg => { if (origin) await origin.send(origin.recipient, msg); if (recipient) await recipient.send(recipient.origin, msg); } catch (err) { + console.log(err); return; // eslint-disable-line no-useless-return } });