Log transaction id

This commit is contained in:
jbajic 2022-11-23 18:02:00 +01:00
parent b3eec92525
commit d6b444c38b

View File

@ -466,7 +466,7 @@ EdgeFiller InitializeEdgeFillerFunction(const msgs::ExpandOneRequest &req) {
auto CreateErrorResponse(const ShardError &shard_error, const auto transaction_id, const std::string_view action) {
msgs::ShardError message_shard_error{shard_error.code, shard_error.message};
spdlog::debug("{} In transaction {} {} failed: {}: {}", shard_error.source, transaction_id, action,
spdlog::debug("{} In transaction {} {} failed: {}: {}", shard_error.source, transaction_id.logical_id, action,
ErrorCodeToString(shard_error.code), shard_error.message);
return message_shard_error;
}