From 11b234cca69246a21b744f3358c13908544aa43e Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Sun, 6 Aug 2023 22:11:28 +0100 Subject: [PATCH] remove await. --- Probe/Index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Probe/Index.ts b/Probe/Index.ts index 4f576b811e..613075a908 100644 --- a/Probe/Index.ts +++ b/Probe/Index.ts @@ -20,7 +20,10 @@ const init: Function = async (): Promise => { let workers: number = 0; while (workers < PROBE_MONITORING_WORKERS) { - await new FetchListAndProbe().run(); + new FetchListAndProbe().run().catch((err: any) => { + logger.error('FetchListAndProbe Failed:'); + logger.error(err); + }); workers++; } } catch (err) {