decentralised sync engine

refactor: log out any handshake errors

serenity d4382f00 1035af06

Changed files
+4 -1
src
lib
+4 -1
src/lib/setup.ts
···
did: shardDid,
channels: channelAtUris,
});
-
if (!handshakeResult.ok) continue;
+
if (!handshakeResult.ok) {
+
console.error(handshakeResult.error);
+
continue;
+
}
const sessionInfo = handshakeResult.data;
console.log("Handshake to", shardAtUri.rKey, "complete!");
handshakeTokens.set(shardAtUri, sessionInfo);