More logging

This commit is contained in:
Chloe Herd 2025-05-13 16:50:05 -04:00
parent 567a881766
commit 24be917e3a

View file

@ -58,13 +58,19 @@ export async function beforeEach(to, from) {
await loadSessionIfPresent(true, routeData.SERVICE_LOCATION.name);
}
// prettier-ignore
{
debugLog(`--- before-each.js ${from?.name} mid ---`);
debugLog(" funnel cookie after load: ", getFunnelCookie());
}
// Process funnel cookie.
updateOrCreateFunnelCookie();
// prettier-ignore
{
debugLog(`--- before-each.js ${from?.name} start ---`);
debugLog(" funnel cookie after: ", getFunnelCookie());
debugLog(`--- before-each.js ${from?.name} end ---`);
debugLog(" funnel cookie after update: ", getFunnelCookie());
}
// Update if logging is enabled.