mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -06:00
Fix logging
This commit is contained in:
parent
e4a60b50d8
commit
fbbe2ec0fb
|
|
@ -344,7 +344,7 @@ func (s *membershipStatements) SelectLocalServerInRoom(ctx context.Context, room
|
||||||
}
|
}
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
defer internal.CloseAndLogIfError(ctx, rows, "SelectKnownUsers: rows.close() failed")
|
defer internal.CloseAndLogIfError(ctx, rows, "SelectLocalServerInRoom: rows.close() failed")
|
||||||
found := false
|
found := false
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
found = true
|
found = true
|
||||||
|
|
|
||||||
|
|
@ -323,7 +323,7 @@ func (s *membershipStatements) SelectLocalServerInRoom(ctx context.Context, room
|
||||||
}
|
}
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
defer internal.CloseAndLogIfError(ctx, rows, "SelectKnownUsers: rows.close() failed")
|
defer internal.CloseAndLogIfError(ctx, rows, "SelectLocalServerInRoom: rows.close() failed")
|
||||||
found := false
|
found := false
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
found = true
|
found = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue