]> git.stg.codes - stg.git/commitdiff
Report about headers reading error
authorMaxim Mamontov <faust.madf@gmail.com>
Sat, 3 Sep 2011 17:42:50 +0000 (20:42 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Sat, 3 Sep 2011 17:42:50 +0000 (20:42 +0300)
projects/stargazer/user_impl.cpp

index 8c61523a835fb5ae25c45f0b23d29b421c5a4109..547d18ed1ea6c59b5e0eecbf35d43a66ae485d67 100644 (file)
@@ -345,6 +345,9 @@ std::vector<STG_MSG_HDR> hdrsList;
 if (store->GetMessageHdrs(&hdrsList, login))
     {
     printfd(__FILE__, "Error GetMessageHdrs %s\n", store->GetStrError().c_str());
 if (store->GetMessageHdrs(&hdrsList, login))
     {
     printfd(__FILE__, "Error GetMessageHdrs %s\n", store->GetStrError().c_str());
+    WriteServLog("Cannot read user %s. Error reading message headers: %s.",
+                 login.c_str(),
+                 store->GetStrError().c_str());
     return -1;
     }
 
     return -1;
     }