diff OrthancServer/SliceOrdering.cpp @ 2955:bbfd95a0c429

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 03 Dec 2018 14:59:23 +0100
parents d88970f1ffbf
children 4e43e67f8ecf
line wrap: on
line diff
--- a/OrthancServer/SliceOrdering.cpp	Mon Dec 03 14:35:34 2018 +0100
+++ b/OrthancServer/SliceOrdering.cpp	Mon Dec 03 14:59:23 2018 +0100
@@ -407,8 +407,8 @@
     if (!SortUsingPositions() &&
         !SortUsingIndexInSeries())
     {
-      LOG(ERROR) << "Unable to order the slices of the series " << seriesId;
-      throw OrthancException(ErrorCode_CannotOrderSlices);
+      throw OrthancException(ErrorCode_CannotOrderSlices,
+                             "Unable to order the slices of series " + seriesId);
     }
   }