Merge pull request #427 from shocknet/fix/more-logs

logger->console
This commit is contained in:
CapDog 2021-07-20 16:45:24 -04:00 committed by GitHub
commit 43e4db91db

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
}