mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-08 04:50:06 +00:00
Merge branch 'master' of https://github.com/sasjs/adapter into sas-job-absolute-paths
This commit is contained in:
@@ -93,7 +93,7 @@ export class SessionManager {
|
||||
|
||||
if (!currentContext) {
|
||||
throw new Error(
|
||||
`The context ${this.contextName} was not found on the server ${this.serverUrl}`
|
||||
`The context '${this.contextName}' was not found on the server ${this.serverUrl}.`
|
||||
)
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ export class SessionManager {
|
||||
if (sessionState === 'pending') {
|
||||
if (stateLink) {
|
||||
if (!silent) {
|
||||
console.log('Polling session status... \n')
|
||||
console.log('Polling session status... \n') // ?
|
||||
}
|
||||
const { result: state } = await this.request<string>(
|
||||
`${this.serverUrl}${stateLink.href}?wait=30`,
|
||||
@@ -140,7 +140,7 @@ export class SessionManager {
|
||||
|
||||
sessionState = state.trim()
|
||||
if (!silent) {
|
||||
console.log(`Current state: ${sessionState}\n`)
|
||||
console.log(`Current state is '${sessionState}'\n`)
|
||||
}
|
||||
resolve(sessionState)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user