]> git.sur5r.net Git - openldap/commitdiff
Log the error code too
authorHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 04:10:57 +0000 (04:10 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 04:10:57 +0000 (04:10 +0000)
servers/slapd/overlays/syncprov.c

index c6cef4a71bd1315d1b079c9837ad4fd2cea2474d..48186ff4e5cf5ac53eac40796d64a1f5cff10b8d 100644 (file)
@@ -843,7 +843,7 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so )
                        rc = be_entry_get_rw( op, &opc.sndn, NULL, NULL, 0, &e );
                        if ( rc ) {
                                Debug( LDAP_DEBUG_SYNC, "syncprov_qplay: failed to get %s, "
-                                       "ignoring...\n", opc.sndn.bv_val );
+                                       "error (%d), ignoring...\n", opc.sndn.bv_val, rc );
                                ch_free( sr );
                                rc = 0;
                                continue;