From 47eb302f5fc7d7fb92ed14d812627a1a107f71ff Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 13 Sep 2022 21:33:04 +0300 Subject: [PATCH] LINXD-2209: Added logs on consume --- app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 9bbe501..2898019 100644 --- a/app.js +++ b/app.js @@ -252,9 +252,11 @@ peers.on('connection', async socket => { // send the parameters to the client callback({ params }) + } else { + console.log('[canConsume] Can\'t consume', error.message) } } catch (error) { - console.log('[consume] Can\'t consume', error.message) + console.log('[consume] Error', error.message) callback({ params: { error: error