better error log
This commit is contained in:
parent
d2f85f4f25
commit
ce7ac02871
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ const afterStoreSetup = async ({ store, i18n }) => {
|
||||||
await setConfig({ store })
|
await setConfig({ store })
|
||||||
document.querySelector('#status').textContent = i18n.global.t('splash.theme')
|
document.querySelector('#status').textContent = i18n.global.t('splash.theme')
|
||||||
try {
|
try {
|
||||||
await store.dispatch('setTheme').catch((e) => { console.log(e) })
|
await store.dispatch('setTheme').catch((e) => { console.error('Error setting theme', e) })
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return Promise.reject(e)
|
return Promise.reject(e)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue