From 055f0d67091ed02f276ebc0b68234755b899075e Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 22 Aug 2021 14:56:44 +0200 Subject: [PATCH] Even if you just change the log level, ensure that this compiles before pushing... --- src/Cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache.cpp b/src/Cache.cpp index 1adf8eee..45fc852d 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -1140,7 +1140,7 @@ Cache::runMigrations() auto db = lmdb::dbi::open(txn, dbName.c_str()); db.drop(txn, true); } catch (std::exception &e) { - nhlog::db()->warning( + nhlog::db()->warn( "Failed to drop '{}': {}", dbName, e.what()); } };