Added some more debugging for MPX integration RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Fri, 12 Nov 2010 17:26:03 +0100
branchRCL_3
changeset 332 88a24b8b97d8
parent 331 c44ad45736ff
child 333 c80c7fb835c2
Added some more debugging for MPX integration
engine/src/ShowEngine.cpp
--- a/engine/src/ShowEngine.cpp	Fri Nov 12 16:44:27 2010 +0100
+++ b/engine/src/ShowEngine.cpp	Fri Nov 12 17:26:03 2010 +0100
@@ -264,13 +264,17 @@
 
 void CShowEngine::AddShowToMpxCollection(CShowInfo &aShowInfo)
 	{
+	DP("CShowEngine::AddShowToMpxCollection BEGIN");
 #ifdef ENABLE_MPX_INTEGRATION
 	if (!iCollectionHelper)
 		iCollectionHelper = CMPXCollectionHelperFactory::NewCollectionHelperL();
 	
 	// if this leaves, not much we can do anyway
-	TRAP_IGNORE(iCollectionHelper->AddL(aShowInfo.FileName(), this));
+	DP("    MPX integration enabled, adding show to collection");
+	TRAPD(err, iCollectionHelper->AddL(aShowInfo.FileName(), this));
+	DP1("    AddL returned %d", err);
 #endif
+	DP("CShowEngine::AddShowToMpxCollection END");
 	}
 
 void CShowEngine::CompleteL(CHttpClient* /*aHttpClient*/, TInt aError)