Skip to content

HLRC: Fix strict setting exception handling#38112

Merged
hub-cap merged 1 commit intoelastic:6.xfrom
hub-cap:bp#37247
Jan 31, 2019
Merged

HLRC: Fix strict setting exception handling#38112
hub-cap merged 1 commit intoelastic:6.xfrom
hub-cap:bp#37247

Conversation

@hub-cap
Copy link
Copy Markdown
Contributor

@hub-cap hub-cap commented Jan 31, 2019

The LLRC's exception handling for strict mode was previously throwing an
exception the HLRC assumed was an error response. This is not the case
if the result is valid in strict mode, as it will return the proper
response wrapped in an exception with warnings. This commit fixes the
HLRC such that it no longer spews if it encounters a strict LLRC
response.

Closes #37090
Relates #37247

The LLRC's exception handling for strict mode was previously throwing an
exception the HLRC assumed was an error response. This is not the case
if the result is valid in strict mode, as it will return the proper
response wrapped in an exception with warnings. This commit fixes the
HLRC such that it no longer spews if it encounters a strict LLRC
response.

Closes elastic#37090
Relates elastic#37247
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants