mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-10 09:43:41 +00:00
check rows.Err()
This commit is contained in:
parent
5f7e3b2968
commit
e9344df886
@ -140,6 +140,9 @@ func prepareMilestonesQuery(ctx context.Context, db prepareDatabase) (sq.SelectB
|
||||
if err := rows.Close(); err != nil {
|
||||
return nil, errors.ThrowInternal(err, "QUERY-CK9mI", "Errors.Query.CloseRows")
|
||||
}
|
||||
if err := rows.Err(); err != nil {
|
||||
return nil, errors.ThrowInternal(err, "QUERY-asLsI", "Errors.Internal")
|
||||
}
|
||||
return &Milestones{
|
||||
Milestones: milestones,
|
||||
SearchResponse: SearchResponse{
|
||||
|
Loading…
x
Reference in New Issue
Block a user