This commit is contained in:
Scott E. Graves 2025-02-19 13:19:26 -06:00
parent 292dfaab3f
commit 365e83e15d

View File

@ -29,8 +29,8 @@ auto data_db::get(std::string_view download_id) const
return res.IsNotFound() ? rocksdb::Status{} : res;
})) {
utils::error::handle_exception(
function_name, fmt::format("failed to get|{}", download_id));
utils::error::handle_error(function_name,
fmt::format("failed to get|{}", download_id));
}
return ret;
@ -40,7 +40,7 @@ void data_db::open(std::string_view data_dir) {
MONITARR_USES_FUNCTION_NAME();
auto db_path = utils::path::combine(data_dir, {"state_db"});
utils::error::handle_exception(function_name,
utils::error::handle_info(function_name,
fmt::format("opening database|{}", db_path));
rocksdb::Options options{};