From c811ee689f26e275a9c40953a758dfe332e8e215 Mon Sep 17 00:00:00 2001 From: Norbert Hauriel Date: Wed, 24 Jul 2024 13:12:06 +0200 Subject: [PATCH] fix(typo): client.go error message --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 1ca4814..1d175d1 100644 --- a/client.go +++ b/client.go @@ -683,7 +683,7 @@ func (c *Client) DialAndSendWithContext(ctx context.Context, messages ...*Msg) e return fmt.Errorf("send failed: %w", err) } if err := c.Close(); err != nil { - return fmt.Errorf("failed to close connction: %w", err) + return fmt.Errorf("failed to close connection: %w", err) } return nil }