Skip to content

Commit

Permalink
chore: added debug log for user initial request
Browse files Browse the repository at this point in the history
  • Loading branch information
manchenkoff committed May 12, 2024
1 parent 569dbdc commit 409b3ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export default defineNuxtPlugin(async () => {
identityFetchedOnInit.value = true;

try {
logger.debug('Fetching user identity on plugin initialization');
user.value = await client(options.endpoints.user);
} catch (error) {
handleIdentityLoadError(error as Error, logger);
Expand Down

0 comments on commit 409b3ae

Please sign in to comment.