From 47caf8bc2c5a4c759cca325c5288771795abeac1 Mon Sep 17 00:00:00 2001 From: akvlad Date: Fri, 22 Dec 2023 11:30:18 +0200 Subject: [PATCH] error 500 on clickhouse absence --- lib/handlers/push.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/handlers/push.js b/lib/handlers/push.js index 8f1fd5b8..12b27e4a 100644 --- a/lib/handlers/push.js +++ b/lib/handlers/push.js @@ -98,7 +98,7 @@ function processStream (stream, labels, bulkLabels, bulk, toJSON, fingerPrint) { JSONLabels.name || '' ]])) } - return Promise.all(promises).catch(e => logger.error(e)) + return Promise.all(promises) } async function handler (req, res) {