Fix errors introduced by TypeScript 4.7
error TS2731: Implicit conversion of a 'symbol' to a 'string' will
fail at runtime. Consider wrapping this expression in 'String(...)'.`
Release-Notes: skip
Change-Id: I5b9d48d5d1c1e23bd3fde551e406a6feb1e4d20b
diff --git a/polygerrit-ui/app/services/registry.ts b/polygerrit-ui/app/services/registry.ts
index e7de1ef..74b6997 100644
--- a/polygerrit-ui/app/services/registry.ts
+++ b/polygerrit-ui/app/services/registry.ts
@@ -73,7 +73,7 @@
initializing = true;
initialized.set(name, factory(context));
} catch (e) {
- console.error(`Failed to initialize ${name}`, e);
+ console.error(`Failed to initialize ${String(name)}`, e);
} finally {
initializing = false;
}