Even if you just change the log level, ensure that this compiles before pushing...

This commit is contained in:
Nicolas Werner 2021-08-22 14:56:44 +02:00
parent 63998a217a
commit 055f0d6709
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -1140,7 +1140,7 @@ Cache::runMigrations()
auto db = lmdb::dbi::open(txn, dbName.c_str()); auto db = lmdb::dbi::open(txn, dbName.c_str());
db.drop(txn, true); db.drop(txn, true);
} catch (std::exception &e) { } catch (std::exception &e) {
nhlog::db()->warning( nhlog::db()->warn(
"Failed to drop '{}': {}", dbName, e.what()); "Failed to drop '{}': {}", dbName, e.what());
} }
}; };