locationtriggering/ltcontainer/src/lbtcontainer.cpp
changeset 39 3efc7a0e8755
parent 0 667063e416a2
child 45 6b6920c56e2f
--- a/locationtriggering/ltcontainer/src/lbtcontainer.cpp	Fri Jul 23 19:40:48 2010 +0530
+++ b/locationtriggering/ltcontainer/src/lbtcontainer.cpp	Fri Aug 06 19:34:22 2010 +0530
@@ -350,7 +350,11 @@
     
     if ( KErrNotFound == iObservers.Find(obsvr, compareAlgoirthm) )
         {
-        iObservers.Append( obsvr );
+        TInt error = iObservers.Append( obsvr );
+        if( error != KErrNone )
+            {
+            LOG1("Failed to add observer to the array:%d",error);
+            }
         }
     }