Added policy error message (GONRG-6457)
Description:
Added error handling for policy service response. Issue: osdu/platform/system/search-service#120 (closed) .
The bug reason: in the case of receiving an error from the service policy, the error was not handled and the program continued to execute the next steps of the request.
Solution: handle the error from the policy service. Also, the error message was added.
How to test:
- Execute get policy request to policy service with the wrong policy name or policy id.
- Get a response with an error.
- Check error message in response and logs.
Changes include:
-
Bugfix (a non-breaking change that solves an issue).
Changes in:
-
GCP -
Azure -
AWS -
IBM
Edited by Riabokon Stanislav(EPAM)[GCP]