decentralised sync engine
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: more logging

serenity 06c8ae55 62b35fb1

+4 -1
+4 -1
src/lib/utils/handshake.ts
··· 42 42 error: httpResponseParseError, 43 43 data: handshakeResponseDataParsed, 44 44 } = httpSuccessResponseSchema.safeParse(handshakeResponseData); 45 - if (!httpResponseParseSuccess) 45 + if (!httpResponseParseSuccess) { 46 + console.error("Parsing response failed.", httpResponseParseError); 47 + console.error("Incoming data:", JSON.stringify(handshakeResponseData)); 46 48 return { 47 49 ok: false, 48 50 error: z.treeifyError(httpResponseParseError), 49 51 }; 52 + } 50 53 51 54 const { data: handshakeData } = handshakeResponseDataParsed; 52 55