commit: ce7ac028718b1850cff3ce8f7293f025105a0880
parent d2f85f4f25e6ddacdcafa529a257eb7b89c21874
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 18 Sep 2024 02:50:51 +0300
better error log
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/boot/after_store.js b/src/boot/after_store.js
@@ -349,7 +349,7 @@ const afterStoreSetup = async ({ store, i18n }) => {
await setConfig({ store })
document.querySelector('#status').textContent = i18n.global.t('splash.theme')
try {
- await store.dispatch('setTheme').catch((e) => { console.log(e) })
+ await store.dispatch('setTheme').catch((e) => { console.error('Error setting theme', e) })
} catch (e) {
return Promise.reject(e)
}