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

#3195 - Bubble up exception message from CQL engine #3210

Merged
merged 2 commits into from
Jan 19, 2022
Merged

Conversation

csandersdev
Copy link
Contributor

The CQL operations were wrapping the exception from the CQL engine in a
FHIROperationException and assuming that the nested exception would
automatically be included in the issues list which isn't the case at
all. I added logic to manually add the details from the CQLException to
the issues list so that it shows up in the OperationOutcome.

Signed-off-by: Corey Sanders [email protected]

The CQL operations were wrapping the exception from the CQL engine in a
FHIROperationException as assuming that the nested exception would
automatically be included in the issues list which isn't the case at
all. I added logic to manually add the details from the CQLException to
the issues list so that it shows up in the OperationOutcome.

Signed-off-by: Corey Sanders <[email protected]>
Copy link
Contributor

@prb112 prb112 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - minor comments inline

@lmsurpre lmsurpre self-requested a review January 19, 2022 22:47
@lmsurpre lmsurpre merged commit 6ce9de7 into main Jan 19, 2022
@lmsurpre lmsurpre deleted the issue-3195 branch January 19, 2022 22:53
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.

3 participants