mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-18 01:20:05 +00:00
chore(*): print URL when polling job state
This commit is contained in:
@@ -1101,6 +1101,9 @@ export class SASViyaApiClient {
|
|||||||
Promise.reject(`Job state link was not found.`)
|
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
|
const { result: state } = await this.requestClient
|
||||||
.get<string>(
|
.get<string>(
|
||||||
`${this.serverUrl}${stateLink.href}?_action=wait&wait=300`,
|
`${this.serverUrl}${stateLink.href}?_action=wait&wait=300`,
|
||||||
|
|||||||
Reference in New Issue
Block a user