diff --git a/package-lock.json b/package-lock.json index ab4ca50..9965a2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pactum", - "version": "3.6.0", + "version": "3.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pactum", - "version": "3.6.0", + "version": "3.6.1", "license": "MIT", "dependencies": { "@exodus/schemasafe": "^1.2.3", diff --git a/package.json b/package.json index d4cb9e2..b7c6193 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pactum", - "version": "3.6.0", + "version": "3.6.1", "description": "REST API Testing Tool for all levels in a Test Pyramid", "main": "./src/index.js", "types": "./src/index.d.ts", diff --git a/src/models/Tosser.js b/src/models/Tosser.js index ed097cd..3b0856e 100644 --- a/src/models/Tosser.js +++ b/src/models/Tosser.js @@ -103,7 +103,7 @@ class Tosser { } if (!noRetry) { const scale = delay === 1000 ? 'second' : 'seconds'; - log.debug(`Retrying request in ${delay / 1000} ${scale}`); + log.info(`Request retry initiated, waiting ${delay / 1000} ${scale} for attempt ${i + 1} of ${count}`); await helper.sleep(delay); this.response = await getResponse(this); } else {