Skip to content

Commit

Permalink
Merge pull request #263 from NorbertHauriel/patch-1
Browse files Browse the repository at this point in the history
fix(typo): Error text in DialAndSendWithContext
  • Loading branch information
wneessen authored Jul 24, 2024
2 parents 0aecfd9 + c811ee6 commit 07bd2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 07bd2d1

Please sign in to comment.