diff options
-rw-r--r-- | matterclient/matterclient.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index 37530480..aa944a18 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -126,7 +126,8 @@ 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) } |