From 7b774bf065558084d50419296cc050cb67111147 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Thu, 15 Aug 2024 15:52:13 -0400 Subject: [PATCH] Debug Signed-off-by: Cole Miller --- test/raft/lib/uv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/raft/lib/uv.h b/test/raft/lib/uv.h index 7c0cd9dfe..788da9d40 100644 --- a/test/raft/lib/uv.h +++ b/test/raft/lib/uv.h @@ -40,10 +40,10 @@ do { \ int rv_; \ rv_ = raft_uv_init(&f->io, &f->loop, f->dir, &f->transport); \ - if (rv_ != 0) { munit_errorf("raft_uv_init %d", rv_); } \ + if (rv_ != 0) { munit_errorf("%s", f->io.errmsg); } \ raft_uv_set_auto_recovery(&f->io, false); \ rv_ = f->io.init(&f->io, 1, "127.0.0.1:9001"); \ - if (rv_ != 0) { munit_errorf("uvInit %d", rv_); } \ + if (rv_ != 0) { munit_errorf("%s", f->io.errmsg); } \ } while (0) MUNIT_UNUSED static void uvCloseCb(struct raft_io *io)