Index: trunk/FACT++/src/DimServiceInfoList.cc
===================================================================
--- trunk/FACT++/src/DimServiceInfoList.cc	(revision 10491)
+++ trunk/FACT++/src/DimServiceInfoList.cc	(revision 10492)
@@ -437,5 +437,5 @@
 //!
 //! @returns
-//!     The State object containing the description. If teh server was
+//!     The State object containing the description. If the server was
 //!     not found the State object will contain the index -3, if the
 //!     state was not found -2.
@@ -445,5 +445,9 @@
     const ServiceList::const_iterator s = fServiceList.find(server);
     if (s==fServiceList.end())
-        return State(-3, "", "");
+    {
+        stringstream str;
+        str << "DimServiceInfoList::GetState: Searching for state #" << state << " server " << server << " not found.";
+        return State(-3, "Server not found", str.str());
+    }
 
     const std::vector<State> &v = s->second.third;
@@ -453,5 +457,7 @@
             return *i;
 
-    return State(-2, "", "");
+    stringstream str;
+    str << "DimServiceInfoList::GetState: State #" << state << " not found on server " << server << ".";
+    return State(-2, "State not found", str.str());
 }
 
