diff OrthancServer/OrthancFindRequestHandler.cpp @ 2955:bbfd95a0c429

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Dec 2018 14:59:23 +0100
parents 4767d36679ed
children 7695a9c81099
line wrap: on
line diff
--- a/OrthancServer/OrthancFindRequestHandler.cpp	Mon Dec 03 14:35:34 2018 +0100
+++ b/OrthancServer/OrthancFindRequestHandler.cpp	Mon Dec 03 14:59:23 2018 +0100
@@ -552,8 +552,8 @@
         levelTmp->IsNull() ||
         levelTmp->IsBinary())
     {
-      LOG(ERROR) << "C-FIND request without the tag 0008,0052 (QueryRetrieveLevel)";
-      throw OrthancException(ErrorCode_BadRequest);
+      throw OrthancException(ErrorCode_BadRequest,
+                             "C-FIND request without the tag 0008,0052 (QueryRetrieveLevel)");
     }
 
     ResourceType level = StringToResourceType(levelTmp->GetContent().c_str());