@sasjs/adapter 3.7.5 → 3.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/node/index.js +2 -2
- package/package.json +1 -1
- package/src/request/RequestClient.ts +2 -2
package/package.json
CHANGED
|
@@ -635,7 +635,7 @@ const parseError = (data: string) => {
|
|
|
635
635
|
if (parts.length > 1) {
|
|
636
636
|
const storedProcessPath = parts[1].split('<i>')[1].split('</i>')[0]
|
|
637
637
|
const message = `Stored process not found: ${storedProcessPath}`
|
|
638
|
-
return new JobExecutionError(
|
|
638
|
+
return new JobExecutionError(500, message, '')
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
} catch (_) {}
|
|
@@ -649,7 +649,7 @@ const parseError = (data: string) => {
|
|
|
649
649
|
if (parts.length > 1) {
|
|
650
650
|
const log = parts[1].split('<pre>')[1].split('</pre>')[0]
|
|
651
651
|
const message = `This request completed with errors.`
|
|
652
|
-
return new JobExecutionError(
|
|
652
|
+
return new JobExecutionError(500, message, log)
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
} catch (_) {}
|