From e94ab0d18ed574acce909114b2c8eadfe58499c9 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 1 Dec 2016 15:15:35 +0000 Subject: [PATCH] And log when we stop --- src/github.com/matrix-org/go-neb/clients/clients.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/github.com/matrix-org/go-neb/clients/clients.go b/src/github.com/matrix-org/go-neb/clients/clients.go index 657abea..6989bde 100644 --- a/src/github.com/matrix-org/go-neb/clients/clients.go +++ b/src/github.com/matrix-org/go-neb/clients/clients.go @@ -360,6 +360,7 @@ func (c *Clients) newClient(config api.ClientConfig) (*gomatrix.Client, error) { }).Error("Fatal Sync() error") time.Sleep(10 * time.Second) } else { + log.WithField("user_id", config.UserID).Info("Stopping Sync()") return } }