forked from mystiq/hydrogen-web
log theme being loaded
This commit is contained in:
parent
a550788788
commit
03ab1ee2c7
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export class ThemeLoader {
|
|||
}
|
||||
|
||||
setTheme(themeName: string, log?: ILogItem) {
|
||||
this._platform.logger.wrapOrRun(log, "setTheme", () => {
|
||||
this._platform.logger.wrapOrRun(log, {l: "change theme", id: themeName}, () => {
|
||||
const themeLocation = this._themeMapping[themeName];
|
||||
if (!themeLocation) {
|
||||
throw new Error( `Cannot find theme location for theme "${themeName}"!`);
|
||||
|
|
Loading…
Reference in a new issue