diff --git a/home/auth.go b/home/auth.go index 1e9c3b90..21b74adc 100644 --- a/home/auth.go +++ b/home/auth.go @@ -90,7 +90,10 @@ func (a *Auth) loadSessions() { } _ = bkt.ForEach(forEach) if removed != 0 { - _ = tx.Commit() + err = tx.Commit() + if err != nil { + log.Error("bolt.Commit(): %s", err) + } } log.Debug("Auth: loaded %d sessions from DB (removed %d expired)", len(a.sessions), removed) }