Prevent error handler from falling through in user.run
This commit is contained in:
parent
907da56311
commit
25d4312e0f
1
user.go
1
user.go
@ -293,6 +293,7 @@ func (u *user) run() {
|
|||||||
channels, err := u.srv.db.ListChannels(record.ID)
|
channels, err := u.srv.db.ListChannels(record.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
u.srv.Logger.Printf("failed to list channels for user %q, network %q: %v", u.Username, record.GetName(), err)
|
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)
|
network := newNetwork(u, &record, channels)
|
||||||
|
Loading…
Reference in New Issue
Block a user