debugging

This commit is contained in:
Chris Troutner
2021-08-23 15:36:33 -07:00
parent 8639a3d363
commit c06a9ec874
+9 -5
View File
@@ -99,11 +99,15 @@ class JSONRPC {
// await _this.ipfsCoord.ipfs.orbitdb.sendToDb(from, retStr)
console.log('responding to JSON RPC command')
const thisNode = _this.ipfsCoord.thisNode
await _this.ipfsCoord.useCases.peer.sendPrivateMessage(
from,
retStr,
thisNode
)
try {
await _this.ipfsCoord.useCases.peer.sendPrivateMessage(
from,
retStr,
thisNode
)
} catch (err) {
console.log('err: ', err)
}
// }
// Return the response and originator. Useful for testing.