From 15a774ff81109244be1eb209b0b1619b53d0f4fb Mon Sep 17 00:00:00 2001 From: Krishna Acondy Date: Tue, 11 May 2021 08:29:15 +0100 Subject: [PATCH] chore(*): print URL when polling job state --- src/SASViyaApiClient.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index 87aded9..95e5ef8 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -1101,6 +1101,9 @@ export class SASViyaApiClient { Promise.reject(`Job state link was not found.`) } + console.log( + `Attempting to poll job state from ${this.serverUrl}${stateLink.href}` + ) const { result: state } = await this.requestClient .get( `${this.serverUrl}${stateLink.href}?_action=wait&wait=300`,