From 2d3cce64da6b7b3b2548b1676adbeb0c15851887 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 3 Dec 2019 14:48:43 +0100 Subject: [PATCH] Fix format string --- imap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap.go b/imap.go index 8688604..14d59c8 100644 --- a/imap.go +++ b/imap.go @@ -19,7 +19,7 @@ func (s *Server) connectIMAP() (*imapclient.Client, error) { if s.imap.tls { c, err = imapclient.DialTLS(s.imap.host, nil) if err != nil { - return nil, fmt.Errorf("failed to connect to IMAPS server: ^v", err) + return nil, fmt.Errorf("failed to connect to IMAPS server: %v", err) } } else { c, err = imapclient.Dial(s.imap.host)