diff Core/DicomParsing/ParsedDicomFile.cpp @ 2989:aa0f06b43b2e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Dec 2018 12:19:19 +0100
parents d924f9bb61cc
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/DicomParsing/ParsedDicomFile.cpp	Mon Dec 10 11:15:31 2018 +0100
+++ b/Core/DicomParsing/ParsedDicomFile.cpp	Mon Dec 10 12:19:19 2018 +0100
@@ -1105,7 +1105,8 @@
 
       default:
         throw OrthancException(ErrorCode_NotImplemented,
-                               "Unsupported MIME type for the content of a new DICOM file: " + mime);
+                               "Unsupported MIME type for the content of a new DICOM file: " +
+                               std::string(EnumerationToString(mime)));
     }
 
     return true;