1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-06 04:00:05 +00:00

chore(*): improved session and job state logging

This commit is contained in:
Yury Shkoda
2021-01-12 17:26:57 +03:00
parent 5a2ee88cbc
commit 8f4d1c7aea
2 changed files with 16 additions and 7 deletions

View File

@@ -1126,9 +1126,9 @@ export class SASViyaApiClient {
postedJobState = jobState.trim()
if (this.debug && postedJobState !== printedState) {
console.log('Polling job status... \n')
console.log(`Current state: ${postedJobState}\n`)
if (this.debug && printedState !== postedJobState) {
console.log('Polling job status...')
console.log(`Current job state: ${postedJobState}`)
printedState = postedJobState
}