Question 330
During a delivery tracking service release at a pharmaceutical distribution network, engineers observe the following: A JavaScript action catches an API exception and prints a warning but still returns success to a release workflow. What is the best focused remediation?
Explanation
Correct Answer
For a pharmaceutical distribution network, this addresses the governing failure: The action swallows the exception without marking the step failed. Success would be demonstrated by: A simulated API failure causes the action step and dependent release check to fail.
Incorrect Answers
That work belongs to a different failure involving Composite step output file. The described workflow needs the narrower change because the action swallows the exception without marking the step failed.
The proposal may suit Marketplace listing metadata, but it does not resolve the mechanism visible at a pharmaceutical distribution network: The action swallows the exception without marking the step failed.
This adjustment addresses Untrusted action input instead. For a pharmaceutical distribution network, the reported problem is caused by: The action swallows the exception without marking the step failed.



GitHub Actions (GH-200) Practice Tests