Prevent error handler from falling through in user.run

git-svn-id: file:///srv/svn/repo/suika/trunk@359 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2020-07-09 12:20:23 +00:00
parent c00ddb8ec3
commit b97cd39cd3

View File

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