🥅 error handling in locale

This commit is contained in:
Axel Olausson Holtenäs 2022-04-17 18:12:44 +02:00
parent 3132bc2637
commit db39f7d8b7
No known key found for this signature in database
GPG key ID: 7BF6826B76382CBA

View file

@ -135,9 +135,9 @@ export default async () => {
}, },
}) })
.then(async () => { .then(async () => {
logger?.verbose(`i18next initialized`); logger.debug(`i18next initialized`);
}) })
.catch(async (error) => { .catch(async (error) => {
logger?.error(`i18next failed to initialize: ${error}`); logger.error(`i18next failed to initialize: ${error}`);
}); });
}; };