changeset 2971:62b07b30e3db

error details
author amazy
date Thu, 06 Dec 2018 10:10:57 +0100
parents e361df74639f
children 4be6a2b46f1e
files Core/DicomFormat/DicomInstanceHasher.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomFormat/DicomInstanceHasher.cpp	Wed Dec 05 16:30:28 2018 +0100
+++ b/Core/DicomFormat/DicomInstanceHasher.cpp	Thu Dec 06 10:10:57 2018 +0100
@@ -53,7 +53,7 @@
         seriesUid_.size() == 0 ||
         instanceUid_.size() == 0)
     {
-      throw OrthancException(ErrorCode_BadFileFormat);
+      throw OrthancException(ErrorCode_BadFileFormat, "missing StudyInstanceUID, SeriesInstanceUID or SOPInstanceUID");
     }
   }