Skip to content

Commit

Permalink
Merge pull request #348 from tienvx/update-trace-logs
Browse files Browse the repository at this point in the history
chore: Update trace logs
  • Loading branch information
rholshausen authored Nov 27, 2023
2 parents 133bf14 + 777e19e commit 82e5187
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/pact_ffi/src/mock_server/handles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ pub extern fn pactffi_with_binary_body(
body: *const u8,
size: size_t
) -> bool {
trace!(">>> pactffi_with_body({:?}, {:?}, {:?}, {:?}, {})", interaction, part, content_type, body, size);
trace!(">>> pactffi_with_binary_body({:?}, {:?}, {:?}, {:?}, {})", interaction, part, content_type, body, size);
let content_type = convert_cstr("content_type", content_type)
.unwrap_or("application/octet-stream");
let content_type_header = "Content-Type".to_string();
Expand Down Expand Up @@ -1714,6 +1714,7 @@ pub extern fn pactffi_with_binary_file(
body: *const u8,
size: size_t
) -> bool {
trace!(">>> pactffi_with_binary_file({:?}, {:?}, {:?}, {:?}, {})", interaction, part, content_type, body, size);
let content_type_header = "Content-Type".to_string();
let support_content_type_matching_rule = interaction.with_pact(
&|_, pact| pact.specification_version >= PactSpecification::V3
Expand Down

0 comments on commit 82e5187

Please sign in to comment.