diff Framework/Toolbox/DicomStructureSet.cpp @ 173:6b0411ac843a wasm

fix captain rt-struct
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Mar 2018 17:58:55 +0100
parents 0a73d76333db
children fccffbf99ba1
line wrap: on
line diff
--- a/Framework/Toolbox/DicomStructureSet.cpp	Tue Mar 06 16:53:48 2018 +0100
+++ b/Framework/Toolbox/DicomStructureSet.cpp	Thu Mar 08 17:58:55 2018 +0100
@@ -444,8 +444,8 @@
                      DICOM_TAG_CONTOUR_GEOMETRIC_TYPE));
         if (type != "CLOSED_PLANAR")
         {
-          LOG(ERROR) << "Cannot handle contour with geometry type: " << type;
-          throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented);          
+          LOG(WARNING) << "Ignoring contour with geometry type: " << type;
+          continue;
         }
 
         size_t size;