From 3a41e64ab7d2e158822cf77ec481159b2c26a2dc Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 21 Jun 2017 11:12:44 +0900 Subject: [PATCH] Add dlog error message If getting the application ID is failed, the appcore_base prints an error message. Change-Id: I4f877a3345e9ca09566c947e34609b002bb943d3 Signed-off-by: Hwankyu Jhun --- src/base/appcore_base.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/base/appcore_base.c b/src/base/appcore_base.c index e4208e7..c431058 100644 --- a/src/base/appcore_base.c +++ b/src/base/appcore_base.c @@ -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) -- 2.7.4