diff Core/Compression/GzipCompressor.cpp @ 2981:eff50153a7b3 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Dec 2018 15:58:08 +0100
parents d924f9bb61cc
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/Compression/GzipCompressor.cpp	Thu Oct 18 10:48:11 2018 +0200
+++ b/Core/Compression/GzipCompressor.cpp	Thu Dec 06 15:58:08 2018 +0100
@@ -271,8 +271,8 @@
       // The uncompressed size was not that properly guess, presumably
       // because of a file size over 4GB. Should fallback to
       // stream-based decompression.
-      LOG(ERROR) << "The uncompressed size of a gzip-encoded buffer was not properly guessed";
-      throw OrthancException(ErrorCode_NotImplemented);
+      throw OrthancException(ErrorCode_NotImplemented,
+                             "The uncompressed size of a gzip-encoded buffer was not properly guessed");
     }
   }
 }