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