From e0f49a19ea08921bffd597babfd8c7208c777d92 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Jul 2022 10:59:55 +0200 Subject: Reduce db retry log on failure --- server/helpers/database-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/helpers') diff --git a/server/helpers/database-utils.ts b/server/helpers/database-utils.ts index aedcc5e64..627381086 100644 --- a/server/helpers/database-utils.ts +++ b/server/helpers/database-utils.ts @@ -45,7 +45,7 @@ function retryTransactionWrapper ( .catch(err => callback(err)) }) .catch(err => { - logger.error(`Cannot execute ${functionToRetry.name} with many retries.`, { err }) + logger.warn(`Cannot execute ${functionToRetry.name} with many retries.`, { err }) throw err }) } -- cgit v1.2.3