From 13a40d7511a4e74bc0058f8eba8be979132c43df Mon Sep 17 00:00:00 2001 From: hatim boufnichel Date: Tue, 20 Jul 2021 22:43:45 +0200 Subject: [PATCH] logger->console --- services/gunDB/contact-api/utils/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/gunDB/contact-api/utils/index.js b/services/gunDB/contact-api/utils/index.js index d9cbaf26..5e4261dd 100644 --- a/services/gunDB/contact-api/utils/index.js +++ b/services/gunDB/contact-api/utils/index.js @@ -160,7 +160,7 @@ const tryAndWait = async (promGen, shouldRetry = () => false) => { return resolvedValue } } catch (e) { - logger.error(e) + console.log(e) if (e.message === Constants.ErrorCode.NOT_AUTH) { throw e } @@ -192,7 +192,7 @@ const tryAndWait = async (promGen, shouldRetry = () => false) => { return resolvedValue } } catch (e) { - logger.error(e) + console.log(e) if (e.message === Constants.ErrorCode.NOT_AUTH) { throw e }