Even if you just change the log level, ensure that this compiles before pushing...
This commit is contained in:
parent
63998a217a
commit
055f0d6709
@ -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());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user