mirror of
https://github.com/navidrome/navidrome.git
synced 2026-04-03 06:41:01 +00:00
Show SQL errors in queryAll
This commit is contained in:
parent
062889a88a
commit
0887f19708
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user