LINXD-2209: Added logs on consume
This commit is contained in:
parent
accf960aa7
commit
47eb302f5f
4
app.js
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user