pass debug to promise-retry

This commit is contained in:
Girish Ramakrishnan
2021-12-07 11:18:26 -08:00
parent ae0e572593
commit 013f5d359d
6 changed files with 14 additions and 19 deletions
+1 -1
View File
@@ -589,7 +589,7 @@ async function waitForContainer(containerName, tokenEnvName) {
const result = await getContainerDetails(containerName, tokenEnvName);
await promiseRetry({ times: 10, interval: 15000 }, async () => {
await promiseRetry({ times: 10, interval: 15000, debug }, async () => {
const [networkError, response] = await safe(superagent.get(`https://${result.ip}:3000/healthcheck?access_token=${result.token}`)
.timeout(5000)
.disableTLSCerts()