sync: update from private repo (2336949a)
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
oss-sync
2026-09-17 11:29:31 +00:00
parent 28f74c4e37
commit 57702b4f34
2139 changed files with 321270 additions and 17494 deletions
+5 -1
View File
@@ -24,7 +24,11 @@ export function setupMetricsSubsystem(
sharedPromRegistry: import('prom-client').Registry | null;
} {
const appConfig = (() => {
try { return configManager?.getConfig() ?? null; } catch { return null; }
try { return configManager?.getConfig() ?? null; } catch {
// Configuration errors may contain credentials; report the fallback only.
logger.warn('[bridge] failed to read metrics configuration; using default metrics settings');
return null;
}
})();
const metricsCfg = appConfig?.provider?.metrics;
let workerMetrics: WorkerMetrics | null = null;