From 08f9edaf68ab15882f7a15cb2589e71695e86fd8 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Mon, 15 Aug 2022 22:58:26 +0530 Subject: [PATCH] Use Error LogLevel --- src/platform/web/theming/ThemeLoader.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/web/theming/ThemeLoader.ts b/src/platform/web/theming/ThemeLoader.ts index d15108a2..6382dcdb 100644 --- a/src/platform/web/theming/ThemeLoader.ts +++ b/src/platform/web/theming/ThemeLoader.ts @@ -21,6 +21,7 @@ import type {Variant, ThemeInformation} from "./parsers/types"; import type {ThemeManifest} from "../../types/theme"; import type {ILogItem} from "../../../logging/types"; import type {Platform} from "../Platform.js"; +import {LogLevel} from "../../../logging/LogFilter"; export class ThemeLoader { private _platform: Platform; @@ -46,7 +47,7 @@ export class ThemeLoader { const result = results[i]; if (result.status === "rejected") { console.error(`Failed to load manifest at ${manifestLocations[i]}, reason: ${result.reason}`); - log.log({ l: "Manifest fetch failed", location: manifestLocations[i], reason: result.reason }); + log.log({ l: "Manifest fetch failed", location: manifestLocations[i], reason: result.reason }, LogLevel.Error); failedManifestLoads.push(manifestLocations[i]) continue; }