commit
43e4db91db
1 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ const tryAndWait = async (promGen, shouldRetry = () => false) => {
|
||||||
return resolvedValue
|
return resolvedValue
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.error(e)
|
console.log(e)
|
||||||
if (e.message === Constants.ErrorCode.NOT_AUTH) {
|
if (e.message === Constants.ErrorCode.NOT_AUTH) {
|
||||||
throw e
|
throw e
|
||||||
}
|
}
|
||||||
|
|
@ -192,7 +192,7 @@ const tryAndWait = async (promGen, shouldRetry = () => false) => {
|
||||||
return resolvedValue
|
return resolvedValue
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.error(e)
|
console.log(e)
|
||||||
if (e.message === Constants.ErrorCode.NOT_AUTH) {
|
if (e.message === Constants.ErrorCode.NOT_AUTH) {
|
||||||
throw e
|
throw e
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue