locationtriggering/ltcontainer/src/lbtcontainer.cpp
changeset 40 16118e24b93b
parent 0 667063e416a2
child 45 6b6920c56e2f
--- a/locationtriggering/ltcontainer/src/lbtcontainer.cpp	Tue Jul 06 14:44:11 2010 +0300
+++ b/locationtriggering/ltcontainer/src/lbtcontainer.cpp	Wed Aug 18 10:11:45 2010 +0300
@@ -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);
+            }
         }
     }