chore: clean
This commit is contained in:
parent
b5a1c21e8e
commit
9523152165
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ const initializeStores = () => {
|
||||||
// Initialize each store with error handling
|
// Initialize each store with error handling
|
||||||
const initializeStore = async (name, initFn) => {
|
const initializeStore = async (name, initFn) => {
|
||||||
try {
|
try {
|
||||||
await Promise.resolve(initFn());
|
await initFn();
|
||||||
appLogger.debug(`${name} initialized successfully`);
|
appLogger.debug(`${name} initialized successfully`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
lifecycleLogger.error(`Failed to initialize ${name}`, {
|
lifecycleLogger.error(`Failed to initialize ${name}`, {
|
||||||
|
|
Loading…
Add table
Reference in a new issue