loggingservices/eventlogger/LogServ/src/LOGADD.CPP
changeset 14 15018f1726c7
parent 0 08ec8eefde2f
child 51 7d4490026038
--- a/loggingservices/eventlogger/LogServ/src/LOGADD.CPP	Tue Jan 26 13:16:24 2010 +0200
+++ b/loggingservices/eventlogger/LogServ/src/LOGADD.CPP	Fri Mar 19 10:00:55 2010 +0200
@@ -480,11 +480,15 @@
 	//Sometimes, after a sequence of OpenContactsL()/CloseContacts() calls the Contacts server crashes
 	//and OpenContactsL() leaves with error -15. In order to avoid that the following delay has been added.
 	//(something related to Contacts server state machine)
-    User::After(100);
+    User::After(1000);
 	// Attempt to open DB
 	TRAPD(err,iContactPlugin->OpenContactsL());
 	if(KErrNone!=err)
 		{
+		if(err == KErrServerTerminated)
+		    {
+		    RDebug::Print(_L("+++LogEng, LogAdd.cpp, Contacts server crashed!\r\n"));
+		    }
 		// If DB doesn't open delete plugin
 		delete iContactPlugin;
 		iContactPlugin = NULL;