Skip to content

Commit

Permalink
chore: splitting line into two to help locate source of null pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jan 15, 2018
1 parent 8c8e9e5 commit 3a4339c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/pact_broker/webhooks/triggered_webhook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ def request_description
end

def execute options
webhook.to_domain.execute pact_publication.to_domain, options
# getting a random 'no method to_domain for null' error
# not sure on which object, so splitting this out into two lines
pact = pact_publication.to_domain
webhook.to_domain.execute(pact, options)
end

def consumer_name
Expand Down

0 comments on commit 3a4339c

Please sign in to comment.