[evolution-data-server/sqlite-refactor: 1/13] test-client-custom-summary.c: Report specific error from add_contacts()



commit ff17ba01ff839280d1da42111553f9f731dd136a
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Tue Nov 19 12:41:04 2013 +0900

    test-client-custom-summary.c: Report specific error from add_contacts()

 tests/libebook/client/test-client-custom-summary.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libebook/client/test-client-custom-summary.c 
b/tests/libebook/client/test-client-custom-summary.c
index b37d0ba..7f39e6d 100644
--- a/tests/libebook/client/test-client-custom-summary.c
+++ b/tests/libebook/client/test-client-custom-summary.c
@@ -191,7 +191,7 @@ setup_book (ClientTestFixture *fixture)
        }
 
        if (!e_book_client_add_contacts_sync (book_client, contacts, NULL, NULL, &error))
-               g_error ("Failed to add test contacts");
+               g_error ("Failed to add test contacts: %s", error->message);
 
        g_slist_free_full (contacts, (GDestroyNotify) g_object_unref);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]