logger->console

This commit is contained in:
hatim boufnichel 2021-07-20 22:43:45 +02:00
parent 793e47de0a
commit 13a40d7511

View file

@ -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
}