You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// let currentRetryCount = parseInt(get(messageJSON.payload, retryCountIdentifier, 1), 10)
64
-
// if (currentRetryCount <= config.MAX_RETRIES) {
65
-
// logger.info(`Challenge does not exist yet. Will post the same message back to the bus API and retry in ${currentRetryCount * (config.RETRY_TIMEOUT / 1000)} seconds`)
logger.debug('Challenge is a pure v5 task. Will skip...')
49
+
return
50
+
}
63
51
}catch(err){
64
-
thrownewError(`Challenge with uuid ${challengeId} does not exist.`)
52
+
thrownewError(`Challenge with uuid ${challengeId} does not exist in v5 API [GET ${config.CHALLENGE_API_V5_URL}/${challengeId}] - Error: ${JSON.stringify(err)}.`)
65
53
}
54
+
55
+
if(!v5Challenge.legacyId){
56
+
thrownewError(`Challenge ${challengeId} has no Legacy ID: ${JSON.stringify(v5Challenge)}`)
0 commit comments