Skip to content

Commit

Permalink
fix(pacts for verification): gracefully log empty request body
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 5, 2020
1 parent 09b0cd5 commit 0e48d13
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ def query
end

def log_request
parameters = request.get? ? nested_query : params
logger.info "Fetching pacts for verification by #{provider_name}", provider_name: provider_name, params: parameters
logger.info "Fetching pacts for verification by #{provider_name}", provider_name: provider_name, params: query
end

def nested_query
Expand Down

0 comments on commit 0e48d13

Please sign in to comment.