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