fix: clean wip logs

pull/3083/head
William Grant 10 months ago
parent 903cfcb613
commit cdc147cd33

@ -708,7 +708,7 @@ export class SwarmPolling {
// Note: always print something so we know if the polling is hanging
window.log.info(
`WIP: [onboarding] about to pollOnceForOurDisplayName of ${ed25519Str(pubkey.key)} from snode: ${ed25519Str(toPollFrom.pubkey_ed25519)} namespaces: ${[SnodeNamespaces.UserProfile]} `
`[onboarding] about to pollOnceForOurDisplayName of ${ed25519Str(pubkey.key)} from snode: ${ed25519Str(toPollFrom.pubkey_ed25519)} namespaces: ${[SnodeNamespaces.UserProfile]} `
);
const resultsFromUserProfile = await SnodeAPIRetrieve.retrieveNextMessages(
@ -722,7 +722,7 @@ export class SwarmPolling {
// Note: always print something so we know if the polling is hanging
window.log.info(
`WIP: [onboarding] pollOnceForOurDisplayName of ${ed25519Str(pubkey.key)} from snode: ${ed25519Str(toPollFrom.pubkey_ed25519)} namespaces: ${[SnodeNamespaces.UserProfile]} returned: ${resultsFromUserProfile?.length}`
`[onboarding] pollOnceForOurDisplayName of ${ed25519Str(pubkey.key)} from snode: ${ed25519Str(toPollFrom.pubkey_ed25519)} namespaces: ${[SnodeNamespaces.UserProfile]} returned: ${resultsFromUserProfile?.length}`
);
// check if we just fetched the details from the config namespaces.

@ -49,6 +49,6 @@ export async function saveBWQRCode(filename: string, props: SessionQRCodeProps):
reactRoot?.unmount();
root?.removeChild(divElement);
} catch (err) {
window.log.error('WIP: [saveBWQRCode] failed', err);
window.log.error(`[saveBWQRCode] failed for ${filename}`, err);
}
}

Loading…
Cancel
Save