Skip to content

Commit

Permalink
fix(typo): client.go error message
Browse files Browse the repository at this point in the history
  • Loading branch information
NorbertHauriel authored Jul 24, 2024
1 parent 0aecfd9 commit c811ee6
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 c811ee6

Please sign in to comment.