chore(server): add logs to begin/end transaction

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-02-24 19:13:42 -05:00
commit 5fa19f9cfa
8 changed files with 29 additions and 15 deletions

View file

@ -209,7 +209,7 @@ func (db *MockDataStore) Radio(ctx context.Context) model.RadioRepository {
return db.MockedRadio
}
func (db *MockDataStore) WithTx(block func(model.DataStore) error) error {
func (db *MockDataStore) WithTx(block func(tx model.DataStore) error, label ...string) error {
return block(db)
}