From ccabc1fd19360bf0082c35c3ae545222e51c89dd Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sat, 11 Jul 2020 20:41:00 -0400 Subject: [PATCH] better logging --- 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 4c1be37c..f35964ce 100644 --- a/services/gunDB/contact-api/utils/index.js +++ b/services/gunDB/contact-api/utils/index.js @@ -98,7 +98,7 @@ const tryAndWait = async (promGen, shouldRetry = () => false) => { if (shouldRetry(resolvedValue)) { logger.info( 'force retrying' + - ` args: ${promGen.toString()} -- ${shouldRetry.toString()}` + ` args: ${promGen.toString()} -- ${shouldRetry.toString()} \n resolvedValue: ${resolvedValue}, type: ${typeof resolvedValue}` ) } else { return resolvedValue @@ -129,7 +129,7 @@ const tryAndWait = async (promGen, shouldRetry = () => false) => { if (shouldRetry(resolvedValue)) { logger.info( 'force retrying' + - ` args: ${promGen.toString()} -- ${shouldRetry.toString()}` + ` args: ${promGen.toString()} -- ${shouldRetry.toString()} \n resolvedValue: ${resolvedValue}, type: ${typeof resolvedValue}` ) } else { return resolvedValue