Add an error code in debugging logs 98/286698/1
authorChanggyu Choi <changyu.choi@samsung.com>
Thu, 12 Jan 2023 00:57:58 +0000 (09:57 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Thu, 12 Jan 2023 00:57:58 +0000 (09:57 +0900)
Change-Id: I88e7991186266a2744f7cc5432c7669e5f928abb
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/app-control/app_control_broker.cc

index 7638eceab5ff14925f87266c0f827c116c54bb31..779b6bdbde0b947388b990df41273411cdf83cb0 100644 (file)
@@ -299,14 +299,14 @@ void AppControlBroker::CopyCalleeInfo(AppControl* dst, AppControl* src) {
     auto app_id = src->GetAppId();
     dst->SetAppId(app_id);
   } catch (Exception& e) {
-    SECURE_LOGD("Failed to get application ID");
+    SECURE_LOGD("Failed to get application ID. error(%d)", e.GetErrorCode());
   }
 
   try {
     auto instance_id = src->GetInstanceId();
     dst->SetInstanceId(instance_id);
   } catch (Exception& e) {
-    SECURE_LOGD("Failed to get instance ID");
+    SECURE_LOGD("Failed to get instance ID. error(%d)", e.GetErrorCode());
   }
 }