diff --git a/src/main/cluster-detectors/detector-registry.ts b/src/main/cluster-detectors/detector-registry.ts index 2d4bd25493e3..cdd0eab4ceef 100644 --- a/src/main/cluster-detectors/detector-registry.ts +++ b/src/main/cluster-detectors/detector-registry.ts @@ -40,12 +40,14 @@ export class DetectorRegistry extends Singleton { ) { results.set(key, data); } - } catch {} // ignore errors + } catch { + // ignore errors + } } return Object.fromEntries( iter.map( - Object.entries(results), + results.entries(), ([key, { value }]) => [key, value], ), );