Update error message 32/189332/2
authormk5004.lee <mk5004.lee@samsung.com>
Mon, 17 Sep 2018 05:59:54 +0000 (14:59 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Mon, 17 Sep 2018 08:43:10 +0000 (17:43 +0900)
Change-Id: Id70d9c196cdde19777f988268597a47c875ddbbb
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
watchface-complication-provider/watchface-complication-provider.cc

index ad02108..35dcd1d 100644 (file)
@@ -227,10 +227,10 @@ extern "C" EXPORT_API int watchface_complication_provider_setup_reply_to_editor(
     free(editor_appid);
 
     if (ret == APP_CONTROL_ERROR_OUT_OF_MEMORY) {
-      LOGE("Fail to get context data");
+      LOGE("Out of memory");
       return WATCHFACE_COMPLICATION_ERROR_OUT_OF_MEMORY;
     }
-    LOGE("Fail to get context data");
+    LOGE("Fail to get setup editable ID (%d)", ret);
     return WATCHFACE_COMPLICATION_ERROR_INVALID_PARAMETER;
   }
 
@@ -283,10 +283,10 @@ extern "C" EXPORT_API int watchface_complication_provider_setup_is_editing(
   ret = app_control_get_extra_data(handle, SETUP_EDITOR_APPID_KEY, &value);
   if (ret != APP_CONTROL_ERROR_NONE) {
     if (ret == APP_CONTROL_ERROR_OUT_OF_MEMORY) {
-      LOGE("Fail to get context data");
+      LOGE("Out of memory");
       return WATCHFACE_COMPLICATION_ERROR_OUT_OF_MEMORY;
     }
-    LOGE("Fail to get context data");
+    LOGE("Fail to get setup editor appid (%d)", ret);
     return WATCHFACE_COMPLICATION_ERROR_INVALID_PARAMETER;
   }
 
@@ -308,10 +308,10 @@ extern "C" EXPORT_API int watchface_complication_provider_setup_get_context(
   ret = app_control_get_extra_data(handle, SETUP_CONTEXT_DATA_KEY, &value);
   if (ret != APP_CONTROL_ERROR_NONE) {
     if (ret == APP_CONTROL_ERROR_OUT_OF_MEMORY) {
-      LOGE("Fail to get context data");
+      LOGE("Out of memory");
       return WATCHFACE_COMPLICATION_ERROR_OUT_OF_MEMORY;
     }
-    LOGE("Fail to get context data");
+    LOGE("Fail to get context data (%d)", ret);
     return WATCHFACE_COMPLICATION_ERROR_INVALID_PARAMETER;
   }