Compare commits

...

2 commits

Author SHA1 Message Date
07bd2d167e
Merge pull request #263 from NorbertHauriel/patch-1
fix(typo): Error text in DialAndSendWithContext
2024-07-24 13:35:33 +02:00
Norbert Hauriel
c811ee689f
fix(typo): client.go error message 2024-07-24 13:12:06 +02:00

View file

@ -683,7 +683,7 @@ func (c *Client) DialAndSendWithContext(ctx context.Context, messages ...*Msg) e
return fmt.Errorf("send failed: %w", err) return fmt.Errorf("send failed: %w", err)
} }
if err := c.Close(); err != nil { 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 return nil
} }