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

Custom errors raised in Python microservice don't make it back to the client #939

Closed
ahutterTA opened this issue Oct 10, 2019 · 1 comment · Fixed by #1446
Closed

Custom errors raised in Python microservice don't make it back to the client #939

ahutterTA opened this issue Oct 10, 2019 · 1 comment · Fixed by #1446
Assignees
Milestone

Comments

@ahutterTA
Copy link
Contributor

Using a UserCustomException in a Python microservice results in the engine intercepting the exception, changing the status code to a 500 from whatever set by the microservice, and dropping the payload. The engine returns:

{
  "code": 203,
  "info": "org.springframework.web.client.HttpClientErrorException: 400 BAD REQUEST",
  "reason": "Microservice error",
  "status": "FAILURE"
}

It should return the payload created by the microservice.

@axsaucedo
Copy link
Contributor

@cliveseldon this may be fixed with the executor?

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 a pull request may close this issue.

3 participants