Fix a log error 84/14284/1 tizen
authorSunwook Bae <sunwook45.bae@samsung.com>
Thu, 2 Jan 2014 02:00:38 +0000 (11:00 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Thu, 2 Jan 2014 02:00:38 +0000 (11:00 +0900)
Change-Id: Ica9741ba06bfefaaa9114bb974c6b0beafc05500
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
src/app/FAppUiApp.cpp

index e943df1..52bf028 100644 (file)
@@ -152,7 +152,7 @@ UiApp::Execute(UiAppInstanceFactory pUiAppFactory, const IList* pArguments)
        ClearLastResult();
        UiApp* pUiApp = pUiAppFactory();
        SysTryReturnResult(NID_APP, pUiApp != null, E_OUT_OF_MEMORY, "App allocation failed.");
-       SysTryReturnResult(NID_APP, !IsFailed(GetLastResult()), E_OUT_OF_MEMORY, "App allocation failed with %s.", GetLastResult());
+       SysTryReturnResult(NID_APP, !IsFailed(GetLastResult()), E_OUT_OF_MEMORY, "App allocation failed with %s.", GetErrorMessage(GetLastResult()));
 
        _AppImpl* pAppImpl = _AppImpl::GetInstance();
        SysTryReturnResult(NID_APP, pAppImpl != null, E_SYSTEM, "application instance is not available.");