Skip to content

Commit

Permalink
chore: use structured param logging for pact updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 19, 2021
1 parent 4b259a8 commit 855e6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact_broker/pacts/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def find_for_verification_publication(pact_params, consumer_version_selector_has

# Overwriting an existing pact with the same consumer/provider/consumer version number
def create_pact_revision params, existing_pact
logger.info "Updating existing pact publication with params #{params.reject{ |k, _v| k == :json_content}}"
logger.info "Updating existing pact publication", payload: params.reject{ |k, _v| k == :json_content }
logger.debug "Content #{params[:json_content]}"
pact_version_sha = generate_sha(params[:json_content])
json_content = add_interaction_ids(params[:json_content])
Expand Down

0 comments on commit 855e6eb

Please sign in to comment.