Skip to content

Commit

Permalink
Log out the output from pact verifying
Browse files Browse the repository at this point in the history
OutputLog contains useful information about what happens with Pact
verification.
  • Loading branch information
Siim Mardus committed May 28, 2024
1 parent cf115fe commit ae0b4f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pact_verifier.erl
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,10 @@ verify_pacts(VerifierRef, ProviderOpts, ProviderPortDetails) ->
"",
Args
),
{Output, _OutputLog} = pact_utils:run_executable_async(
{Output, OutputLog} = pact_utils:run_executable_async(
EscriptPath ++ " pactffi_nif verify_file_pacts " ++ ArgsString
),
io:format(OutputLog),
Output
end,
Output2 =
Expand Down Expand Up @@ -246,9 +247,10 @@ verify_pacts(VerifierRef, ProviderOpts, ProviderPortDetails) ->
"",
Args1
),
{Output3, _OutputLog3} = pact_utils:run_executable_async(
{Output3, OutputLog3} = pact_utils:run_executable_async(
EscriptPath ++ " pactffi_nif verify_broker_pacts " ++ ArgsString1
),
io:format(OutputLog3),
Output3
end,
case Protocol of
Expand Down

0 comments on commit ae0b4f0

Please sign in to comment.