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); 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. // Process funnel cookie.
updateOrCreateFunnelCookie(); updateOrCreateFunnelCookie();
// prettier-ignore // prettier-ignore
{ {
debugLog(`--- before-each.js ${from?.name} start ---`); debugLog(`--- before-each.js ${from?.name} end ---`);
debugLog(" funnel cookie after: ", getFunnelCookie()); debugLog(" funnel cookie after update: ", getFunnelCookie());
} }
// Update if logging is enabled. // Update if logging is enabled.