Skip to content

Commit

Permalink
Merge pull request #2872 from planetf1/backport-pr2860b
Browse files Browse the repository at this point in the history
Release 1.6 : Fixes exception reporting by REST service layer
  • Loading branch information
planetf1 authored Apr 6, 2020
2 parents 7be594e + dd94acc commit d68eb8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public String toString()
", exceptionErrorMessageParameters=" + Arrays.toString(exceptionErrorMessageParameters) +
", exceptionSystemAction='" + exceptionSystemAction + '\'' +
", exceptionUserAction='" + exceptionUserAction + '\'' +
", exceptionProperties=" + exceptionProperties +
", exceptionProperties=" + exceptionProperties + '\'' +
'}';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8005,13 +8005,13 @@ private void captureCheckedException(OMRSAPIResponse response,
{
response.setRelatedHTTPCode(error.getReportedHTTPCode());
response.setExceptionClassName(exceptionClassName);
response.setExceptionCausedBy(error.getReportedCaughtExceptionClassName());
response.setActionDescription(error.getReportingActionDescription());
response.setExceptionErrorMessage(error.getReportedErrorMessage());
response.setExceptionErrorMessageId(error.getReportedErrorMessageId());
response.setExceptionErrorMessageParameters(error.getReportedErrorMessageParameters());
response.setExceptionSystemAction(error.getReportedSystemAction());
response.setExceptionUserAction(error.getReportedUserAction());
response.setExceptionClassName(error.getReportedCaughtExceptionClassName());
response.setExceptionProperties(exceptionProperties);
}

Expand Down

0 comments on commit d68eb8a

Please sign in to comment.