Mercurial > hg > orthanc-stone
diff Framework/Deprecated/Toolbox/BaseWebService.cpp @ 940:861c080ef47b
handling httpStatus in WebService error messages
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Fri, 02 Aug 2019 17:38:31 +0200 |
parents | 200b4e0dddfc |
children | e713f1a99861 1c7ae79c426d |
line wrap: on
line diff
--- a/Framework/Deprecated/Toolbox/BaseWebService.cpp Mon Jul 22 14:29:23 2019 +0200 +++ b/Framework/Deprecated/Toolbox/BaseWebService.cpp Fri Aug 02 17:38:31 2019 +0200 @@ -75,6 +75,7 @@ { // recreate a failure message with the user payload IWebService::HttpRequestErrorMessage failureMessage(message.GetUri(), + message.GetHttpStatus(), userPayload_.get()); userFailureHandler_->Apply(failureMessage);