Show SQL errors in queryAll

This commit is contained in:
Deluan 2023-11-25 13:54:38 -05:00
parent 9aa7b80d0d
commit b964018cd7
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ func (r sqlRepository) queryAll(sq Sqlizer, response interface{}) error {
r.logSQL(query, args, nil, c, start)
return model.ErrNotFound
}
r.logSQL(query, args, nil, c, start)
r.logSQL(query, args, err, c, start)
return err
}