Skip to content

Commit 256aa98

Browse files
committed
Merge branch 'feature/theme-logs' of github.com:datopian/frontend-v2 into feature/theme-logs
2 parents 62feba9 + 427b9fc commit 256aa98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,10 @@ module.exports.loadTheme = function (app) {
388388
loadExtension(theme, themePath, 'theme')(app)
389389
} catch (e) {
390390
const theme = config.get('THEME')
391+
logger.warn('WARNING: Failed to load theme')
391392
logger.warn('Theme: ' + theme)
392393
logger.error(e)
393-
logger.warn('WARNING: Failed to load theme', theme, e)
394+
394395
}
395396
}
396397

0 commit comments

Comments
 (0)