Added logs

This commit is contained in:
Sergiu Toma 2022-09-29 18:07:32 +03:00
parent 5d451d961f
commit a95c29659e

2
app.js
View File

@ -219,7 +219,7 @@ peers.on('connection', async socket => {
console.log(`[transport-connect] socket.id ${socket.id} | callId ${callId}`) console.log(`[transport-connect] socket.id ${socket.id} | callId ${callId}`)
await videoCalls[callId].producerTransport.connect({ dtlsParameters }); await videoCalls[callId].producerTransport.connect({ dtlsParameters });
} catch (error) { } catch (error) {
console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${error}`); console.log(`ERROR | transport-connect | callId ${socketDetails[socket.id]} | ${error.stack}`);
} }
}); });