From a95c29659eacdddbf7e62c307284aecb7daa67dc Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 29 Sep 2022 18:07:32 +0300 Subject: [PATCH] Added logs --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index c574ce7..b56232c 100644 --- a/app.js +++ b/app.js @@ -219,7 +219,7 @@ peers.on('connection', async socket => { console.log(`[transport-connect] socket.id ${socket.id} | callId ${callId}`) await videoCalls[callId].producerTransport.connect({ dtlsParameters }); } catch (error) { - console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${error}`); + console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${error.stack}`); } });