Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
neverchanje committed Nov 18, 2020
1 parent 95a0ed2 commit d9bb3b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/block_service/local/local_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <dsn/utility/utils.h>
#include <dsn/utility/strings.h>
#include <dsn/utility/safe_strerror_posix.h>
#include <dsn/dist/fmt_logging.h>

#include <dsn/cpp/json_helper.h>
#include <dsn/tool-api/task_tracker.h>
Expand Down Expand Up @@ -36,7 +37,7 @@ bool file_metadata_from_json(std::ifstream &fin, file_metadata &fmeta) noexcept
nlohmann::json::parse(data).get_to(fmeta);
return true;
} catch (nlohmann::json::exception &exp) {
dwarn("decode meta data from json failed: %s [%s]", exp.what(), data.c_str());
dwarn_f("decode meta data from json failed: {} [{}]", exp.what(), data);
return false;
}
}
Expand Down

0 comments on commit d9bb3b2

Please sign in to comment.