Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPlugins.cpp @ 1984:9f09a20e41e2
corrected error code
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 25 Apr 2016 14:31:19 +0200 |
parents | 22ddb22fce83 |
children | ce90d109bb64 |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp Mon Apr 25 14:23:34 2016 +0200 +++ b/Plugins/Engine/OrthancPlugins.cpp Mon Apr 25 14:31:19 2016 +0200 @@ -962,7 +962,7 @@ } else { - throw OrthancException(ErrorCode_BadRequest); + throw OrthancException(ErrorCode_UnknownResource); } } @@ -994,7 +994,7 @@ } else { - throw OrthancException(ErrorCode_BadRequest); + throw OrthancException(ErrorCode_UnknownResource); } } @@ -1021,7 +1021,7 @@ } else { - throw OrthancException(ErrorCode_BadRequest); + throw OrthancException(ErrorCode_UnknownResource); } } @@ -1038,7 +1038,7 @@ if (!HttpToolbox::SimpleDelete(handler, RequestOrigin_Plugins, uri)) { - throw OrthancException(ErrorCode_BadRequest); + throw OrthancException(ErrorCode_UnknownResource); } }