summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwangbok Kim <gwangbok.kim@samsung.com>2013-08-23 17:57:53 +0900
committerGwangbok Kim <gwangbok.kim@samsung.com>2013-08-23 18:01:17 +0900
commitd81c876f42a6a62d5137f41b9f066993136efc92 (patch)
tree7f8399adde403d66afac64641c7fc4606fed1f91
parentc61e103643e29c140034b8d56f8b35125997d786 (diff)
downloadsocial-d81c876f42a6a62d5137f41b9f066993136efc92.tar.gz
social-d81c876f42a6a62d5137f41b9f066993136efc92.tar.bz2
social-d81c876f42a6a62d5137f41b9f066993136efc92.zip
add log to get slp error code
Change-Id: Ic276b6fbf16d10108bf43c77087ee76278598ee5 Signed-off-by: Gwangbok Kim <gwangbok.kim@samsung.com>
-rw-r--r--src/FScl_AddressbookImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FScl_AddressbookImpl.cpp b/src/FScl_AddressbookImpl.cpp
index b482df9..a74129b 100644
--- a/src/FScl_AddressbookImpl.cpp
+++ b/src/FScl_AddressbookImpl.cpp
@@ -100,7 +100,7 @@ _AddressbookImpl::Construct(void)
contacts_record_h recordHandle = null;
int ret = contacts_db_get_record(_contacts_address_book._uri, DEFAULT_ADDRESSBOOK_ID, &recordHandle);
SysTryReturn(NID_SCL, ret != CONTACTS_ERROR_OUT_OF_MEMORY, null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
- SysTryReturn(NID_SCL, ret == CONTACTS_ERROR_NONE, null, E_SYSTEM, "[%s] A system error has been occurred. Addressbook Id(%d)", GetErrorMessage(E_SYSTEM), DEFAULT_ADDRESSBOOK_ID);
+ SysTryReturn(NID_SCL, ret == CONTACTS_ERROR_NONE, null, E_SYSTEM, "[%s] A system error has been occurred. Addressbook Id(%d), error code(%d)", GetErrorMessage(E_SYSTEM), DEFAULT_ADDRESSBOOK_ID, ret);
contacts_record_get_str_p(recordHandle, _contacts_address_book.name, &pName);
contacts_record_get_int(recordHandle, _contacts_address_book.account_id, &accountId);