mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-16 08:30:07 +00:00
chore: removed extra console.error
This commit is contained in:
@@ -1003,7 +1003,6 @@ export class SASViyaApiClient {
|
|||||||
const jobSpec = allJobsInFolder.find((j: Job) => j.name === jobName)
|
const jobSpec = allJobsInFolder.find((j: Job) => j.name === jobName)
|
||||||
|
|
||||||
if (!jobSpec) {
|
if (!jobSpec) {
|
||||||
console.error('Job was not found.')
|
|
||||||
throw new Error('Job was not found.')
|
throw new Error('Job was not found.')
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1012,7 +1011,6 @@ export class SASViyaApiClient {
|
|||||||
)?.href
|
)?.href
|
||||||
|
|
||||||
if (!jobDefinitionLink) {
|
if (!jobDefinitionLink) {
|
||||||
console.error('Job definition URI was not found.')
|
|
||||||
throw new Error('Job definition URI was not found.')
|
throw new Error('Job definition URI was not found.')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user