mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-17 00:50:05 +00:00
style: lint
This commit is contained in:
16
src/SASjs.ts
16
src/SASjs.ts
@@ -1107,9 +1107,19 @@ export default class SASjs {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.updateUsername(responseText)
|
this.updateUsername(responseText)
|
||||||
if (responseText.includes('The requested URL /SASStoredProcess/do/ was not found on this server.') ||
|
if (
|
||||||
responseText.includes('Stored process not found')) {
|
responseText.includes(
|
||||||
reject(new ErrorResponse('Service not found on the server', {service: sasJob}, responseText))
|
'The requested URL /SASStoredProcess/do/ was not found on this server.'
|
||||||
|
) ||
|
||||||
|
responseText.includes('Stored process not found')
|
||||||
|
) {
|
||||||
|
reject(
|
||||||
|
new ErrorResponse(
|
||||||
|
'Service not found on the server',
|
||||||
|
{ service: sasJob },
|
||||||
|
responseText
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user