mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 03:30:39 +03:00
Show SQL errors in queryAll
This commit is contained in:
parent
9aa7b80d0d
commit
b964018cd7
@ -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