From f47de09850bf84de2057a30370fd5e429a3ae6d3 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Sat, 28 Sep 2019 08:18:14 +0200 Subject: [PATCH] channeldb: log error for migration test failures --- channeldb/meta_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/channeldb/meta_test.go b/channeldb/meta_test.go index ab3c410ed..014d5966c 100644 --- a/channeldb/meta_test.go +++ b/channeldb/meta_test.go @@ -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