Prevent error handler from falling through in user.run

This commit is contained in:
Simon Ser 2020-07-09 14:20:23 +02:00
parent 907da56311
commit 25d4312e0f
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 0 deletions

View File

@ -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)