From 0d9f3a4de5b2cf11c36ad76b628297e1754538ce Mon Sep 17 00:00:00 2001 From: Matt Goodall Date: Thu, 30 Mar 2017 20:56:11 +0100 Subject: [PATCH] Improve error message format. --- src/xmpp/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmpp/client.go b/src/xmpp/client.go index 293d67e..07f8e9a 100644 --- a/src/xmpp/client.go +++ b/src/xmpp/client.go @@ -136,7 +136,7 @@ func authenticate(stream *Stream, mechanisms []string, user, password string) er return nil } } - return errors.New("No supported SASL mechanism found.") + return errors.New("no supported SASL mechanism found") } type authHandler struct {