Skip to content

Commit

Permalink
log statement in refreshing onboarding state
Browse files Browse the repository at this point in the history
in the logs for the bug runs: e-mission/e-mission-docs#1002 I'm not seeing log statements indicating that the user is logged in (which I should see) and so I'm wondering how the onboarding state is moving on in that case. Adding this log statement to investigate.
  • Loading branch information
Abby Wheelis committed Oct 6, 2023
1 parent 6a9158e commit 98d7324
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/js/onboarding/onboardingHelper.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { DateTime } from "luxon";
import { getAngularService } from "../angular-react-helper";
import { getConfig, resetDataAndRefresh } from "../config/dynamicConfig";
import { logDebug } from "../plugin/logger";

export const INTRO_DONE_KEY = 'intro_done';

Expand Down Expand Up @@ -48,6 +49,9 @@ export function getPendingOnboardingState(): Promise<OnboardingState> {
} else {
route = OnboardingRoute.SURVEY;
}

logDebug("pending onboarding state is " + route + " intro, config, consent, qr saved : " + isIntroDone + config + isConsented + saveQrDone);

return { route, opcode: config?.joined?.opcode };
});
};
Expand Down

0 comments on commit 98d7324

Please sign in to comment.