Add debug log
authorHyunbin Lee <hyunbin.lee@samsung.com>
Wed, 15 May 2013 05:38:59 +0000 (14:38 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Wed, 15 May 2013 05:39:24 +0000 (14:39 +0900)
Change-Id: I85de41448d8dc83c4857d698f4c0184a9ab86ac3
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
src/app/FApp_AppInfo.cpp

index e306dc3..45a0438 100644 (file)
@@ -185,7 +185,7 @@ _AppInfo::Construct(const char* appId, const char* exeName, int argc, char* argv
                SysLog(NID_APP, "App root directory (%s:%d) open.", appInfoPath, __appRootDirFd);
 
                int fd = openat(__appRootDirFd, APPINFO_FILE_PATH, O_RDONLY);
-               SysAssert(fd != -1);
+               SysAssertf(fd != -1, "Failed to open info file, errno: %d (%s)", errno, strerror(errno));
 
                pFile = fdopen(fd, "r");
                SysTryCatch(NID_APP, pFile != NULL, r = E_SYSTEM, E_SYSTEM, "[E_SYSTEM] Opening appinfo file (%s) failed : %s.", appInfoPath, strerror(errno));