mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-11 06:37:21 +01:00
channeldb: log error for migration test failures
This commit is contained in:
@@ -70,6 +70,9 @@ func applyMigration(t *testing.T, beforeMigration, afterMigration func(d *DB),
|
|||||||
|
|
||||||
// Sync with the latest version - applying migration function.
|
// Sync with the latest version - applying migration function.
|
||||||
err = cdb.syncVersions(versions)
|
err = cdb.syncVersions(versions)
|
||||||
|
if err != nil {
|
||||||
|
log.Error(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestVersionFetchPut checks the propernces of fetch/put methods
|
// TestVersionFetchPut checks the propernces of fetch/put methods
|
||||||
|
|||||||
Reference in New Issue
Block a user