Skip to content

Commit

Permalink
chore(suite-desktop): improve/fix misleading log message
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Feb 10, 2025
1 parent b8dc85b commit 0247297
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/suite-desktop-core/src/modules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ const initModulesInner = <
) => {
const { logger } = global;

logger.info('modules', `Initializing ${MODULES.length} modules`);
logger.info(
'modules',
`Initializing ${modules.length} ${background ? 'background ' : ''}modules`,
);

const modulesToLoad: [Module | ModuleBackground, ModuleLoad][] = [];
const modulesToQuit: [Module | ModuleBackground, ModuleQuit][] = [];
Expand All @@ -140,7 +143,7 @@ const initModulesInner = <
);
}
});
logger.info('modules', 'All modules initialized');
logger.info('modules', `All ${background ? 'background ' : ''}modules initialized`);

const loadModules = (handshake: HandshakeClient) => {
let loaded = 0;
Expand Down

0 comments on commit 0247297

Please sign in to comment.