fix SendRaw Failfast mode swallows error (#902)

SendRaw in Failfast mode always returned nil as the error even when
wrapSendRaw failed. Return the actual error to match the behavior
of Call's Failfast mode.
This commit is contained in:
smallnest
2026-04-01 23:31:26 +08:00
parent 9b2ed4ff3d
commit 74a3f19996
+1 -1
View File
@@ -869,7 +869,7 @@ func (c *xClient) SendRaw(ctx context.Context, r *protocol.Message) (map[string]
}
}
return m, payload, nil
return m, payload, err
}
}