From 25d4312e0f7a488ba4d5ebeab47bf20967e243ee Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 9 Jul 2020 14:20:23 +0200 Subject: [PATCH] Prevent error handler from falling through in user.run --- user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/user.go b/user.go index ea55e8a..734cc7a 100644 --- a/user.go +++ b/user.go @@ -293,6 +293,7 @@ func (u *user) run() { channels, err := u.srv.db.ListChannels(record.ID) if err != nil { u.srv.Logger.Printf("failed to list channels for user %q, network %q: %v", u.Username, record.GetName(), err) + continue } network := newNetwork(u, &record, channels)