diff Core/FileStorage/CompressedFileStorageAccessor.cpp @ 1137:d9c27f9f1a51

OrthancPluginSetHttpHeader
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Sep 2014 17:33:46 +0200
parents 67c3c1e4a6e0
children 6e7e5ed91c2d
line wrap: on
line diff
--- a/Core/FileStorage/CompressedFileStorageAccessor.cpp	Tue Sep 09 16:47:04 2014 +0200
+++ b/Core/FileStorage/CompressedFileStorageAccessor.cpp	Tue Sep 09 17:33:46 2014 +0200
@@ -39,6 +39,7 @@
 #include "../Uuid.h"
 
 #include <memory>
+#include <glog/logging.h>
 
 namespace Orthanc
 {
@@ -112,6 +113,7 @@
   {
     if (storage_ == NULL)
     {
+      LOG(ERROR) << "No storage area is currently available";
       throw OrthancException(ErrorCode_BadSequenceOfCalls);
     }