Skip to content

Commit

Permalink
fixed formatting of error string
Browse files Browse the repository at this point in the history
  • Loading branch information
ari edelkind committed Apr 8, 2014
1 parent 43b00c4 commit d191fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bleed/starttls.go
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ func (proto *LineProtoTriple) do(w *bufio.Writer, r *bufio.Reader) (err error) {

re = regexp.MustCompile(proto.ResponseMatch)
if !re.MatchString(line) {
return errors.New("Server does not support STARTTLS (" + strings.TrimSpace(line))
return errors.New("Server does not support STARTTLS (" + strings.TrimSpace(line) + ")")
}

return

0 comments on commit d191fe8

Please sign in to comment.