diff Core/HttpServer/EmbeddedResourceHttpHandler.cpp @ 125:2d96cb181f45

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Oct 2012 17:44:12 +0200
parents c996319e90bc
children fe180eae201d
line wrap: on
line diff
--- a/Core/HttpServer/EmbeddedResourceHttpHandler.cpp	Fri Oct 05 15:23:20 2012 +0200
+++ b/Core/HttpServer/EmbeddedResourceHttpHandler.cpp	Fri Oct 05 17:44:12 2012 +0200
@@ -23,6 +23,7 @@
 #include "../OrthancException.h"
 
 #include <stdio.h>
+#include <glog/logging.h>
 
 
 namespace Orthanc
@@ -67,6 +68,7 @@
     }
     catch (OrthancException& e)
     {
+      LOG(WARNING) << "Unable to find HTTP resource: " << resourcePath;
       output.SendHeader(Orthanc_HttpStatus_404_NotFound);
     }
   }