Add dlog error message 98/135098/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 21 Jun 2017 02:12:44 +0000 (11:12 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 21 Jun 2017 02:12:44 +0000 (11:12 +0900)
If getting the application ID is failed, the appcore_base
prints an error message.

Change-Id: I4f877a3345e9ca09566c947e34609b002bb943d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c

index e4208e7..c431058 100644 (file)
@@ -826,8 +826,10 @@ EXPORT_API int appcore_base_on_set_i18n(void)
        char *name = NULL;
 
        r = aul_app_get_appid_bypid(getpid(), appid, PATH_MAX);
-       if (r < 0)
+       if (r < 0) {
+               _ERR("Failed to get application ID - pid(%d)", getpid());
                return -1;
+       }
 
        r = __get_app_name(appid, &name);
        if (r < 0)