-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #2535 - wrap exceptions instead of losing them
In addition to their OperationOutcomeIssues, we now include the original exception in the CausedBy of the FHIRRestBundledRequestException. This way, if the FHIROperationException was unexpected and has no corresponding issues, when it gets mapped to a 500 Server Error we will automatically log the exception from FHIRResource.exceptionResponse(FHIROperationException, Status). Also changed "bundle request" to "bundled request" in FHIRRestHelper.logBundleRequestCompletedMsg to match the language at the start of the bundled request and to make it more clear its the individual bundled entry that completed and not the entire bundle. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
- Loading branch information
Showing
2 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters