test-client-custom-summary.c: Report specific error from add_contacts()
authorTristan Van Berkom <tristanvb@openismus.com>
Tue, 19 Nov 2013 03:41:04 +0000 (12:41 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Mon, 25 Nov 2013 14:52:47 +0000 (23:52 +0900)
tests/libebook/client/test-client-custom-summary.c

index b37d0ba..7f39e6d 100644 (file)
@@ -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);
 }