messagingfw/msgtestfw/TestActions/Base/src/CMtfTestActionRemoveMedia.cpp
changeset 58 6c34d0baa0b1
parent 0 8e480a14352b
--- a/messagingfw/msgtestfw/TestActions/Base/src/CMtfTestActionRemoveMedia.cpp	Tue Oct 05 13:50:47 2010 +0530
+++ b/messagingfw/msgtestfw/TestActions/Base/src/CMtfTestActionRemoveMedia.cpp	Tue Oct 19 11:59:06 2010 +0530
@@ -63,7 +63,7 @@
 	
 	TInt drive = ObtainValueParameterL<TInt>(TestCase(),ActionParameters().Parameter(0));
 
-	fs.Connect();
+	User::LeaveIfError( fs.Connect() );
 	server.Connect(fs);
 
 	// This tells the server to pretend that its media is missing next time it gets a disk notification