Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(job-execution): return Internal Server Error code in case of Stored Process Error #601

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krishna-acondy
Copy link
Contributor

Issue

sasjs/cli#1063

Intent

Return the correct error code when there is a SAS Stored Process Error.

Implementation

Changed 404 to 500.

Checks

No PR (that involves a non-trivial code change) should be merged, unless all items below are confirmed! If an urgent fix is needed - use a tar file.

  • All sasjs-cli unit tests are passing (npm test).
  • All sasjs-tests are passing (instructions available here).
  • Data Controller builds and is functional on both SAS 9 and Viya

@krishna-acondy krishna-acondy marked this pull request as draft December 12, 2021 20:48
@github-actions
Copy link

Coverage report

Total coverage

Status Category Percentage Covered / Total
🔴 Statements 58.03% 1605/2766
🔴 Branches 39.16% 551/1407
🔴 Functions 45.63% 230/504
🟡 Lines 67.03% 2568/3831

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Report generated by 🧪jest coverage report action from 596c1de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants