From: Gwangbok Kim Date: Fri, 23 Aug 2013 08:57:53 +0000 (+0900) Subject: add log to get slp error code X-Git-Tag: submit/tizen_2.2/20131107.062123~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d81c876f42a6a62d5137f41b9f066993136efc92;p=framework%2Fosp%2Fsocial.git add log to get slp error code Change-Id: Ic276b6fbf16d10108bf43c77087ee76278598ee5 Signed-off-by: Gwangbok Kim --- 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);