chore: Output stack.

This commit is contained in:
Hayden Young 2023-10-11 23:30:35 +01:00
parent 78dab50eb8
commit e609d33ae8
2 changed files with 3 additions and 1 deletions

View File

@ -146,7 +146,7 @@ const Sync = async ({ ipfs, log, events, onSynced, start, timeout }) => {
const heads = await log.heads()
events.emit('join', peerId, heads)
} catch (err) {
console.log('onPeerJoined', ipfs.libp2p.peerId.toString())
console.log('onPeerJoined', ipfs.libp2p.peerId.toString(), err.stack)
}
}

View File

@ -267,6 +267,8 @@ describe('Write Permissions', function () {
})
it('OrbitDB access controller address is deterministic', async () => {
console.log('ipfs 1', ipfs1.libp2p.peerId.toString())
console.log('ipfs 2', ipfs2.libp2p.peerId.toString())
let connected = false
let updateCount = 0