mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-25 16:04:20 +01:00
channeldb: log error for migration test failures
This commit is contained in:
parent
7fcac54dff
commit
f47de09850
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ func applyMigration(t *testing.T, beforeMigration, afterMigration func(d *DB),
|
|||
|
||||
// Sync with the latest version - applying migration function.
|
||||
err = cdb.syncVersions(versions)
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
// TestVersionFetchPut checks the propernces of fetch/put methods
|
||||
|
|
Loading…
Add table
Reference in a new issue