commit 8c141b9327c48cc0bcc23d79224378adeedb5ef5
Author: Wim <wim@42.be>
Date: Wed Nov 02 20:00:00 2016 +0000
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index 3753048..aa944a1 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -1267 +1268 @@ func (m *MMClient) Login() error {
d := b.Duration()
m.log.Debug(appErr.DetailedError)
if !strings.Contains(appErr.DetailedError, "connection refused") &&
- !strings.Contains(appErr.DetailedError, "invalid character") {
+ !strings.Contains(appErr.DetailedError, "invalid character") &&
+ !strings.Contains(appErr.DetailedError, "connection reset by peer") {
if appErr.Message == "" {
return errors.New(appErr.DetailedError)
}