diff -r a1caeb42b3a3 -r fcdfafb36fe7 lafagnosticuifoundation/cone/src/COEPRIV.CPP --- a/lafagnosticuifoundation/cone/src/COEPRIV.CPP Thu Jul 15 18:56:19 2010 +0300 +++ b/lafagnosticuifoundation/cone/src/COEPRIV.CPP Thu Aug 19 10:11:06 2010 +0300 @@ -66,6 +66,8 @@ void CCoeRedrawer::RunL() { + User::LeaveIfError( iStatus.Int() ); + TWsRedrawEvent redraw; iWsSession.GetRedraw(redraw); const TUint handle = redraw.Handle(); @@ -104,3 +106,21 @@ { iWsSession.RedrawReadyCancel(); } + +/** + Log the error (debug builds) before panicking. + The panic code is consistent with that in CCoeEnv::RunL(). + */ +TInt CCoeRedrawer::RunError( TInt aError ) + { +#ifdef _DEBUG + RDebug::Print( _L("CCoeRedrawer's iStatus = %d"), iStatus.Int() ); +#endif + + Panic( ECoePanicWservBlindCommandFailed ); + aError = KErrNone; + + return aError; + } + +