Skip to content

Commit

Permalink
feat(packages/sui-test-contract): make jobs execution halt on contrac…
Browse files Browse the repository at this point in the history
…t publish errors
  • Loading branch information
kikoruiz committed Nov 29, 2023
1 parent 869dfb8 commit d26803b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sui-test-contract/bin/sui-test-contract-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ new Publisher(options)
console.log(`Pact contract for consumer version ${options.consumerVersion} published!`)
console.log(`Head over to ${brokerUrl} and login with to see your published contracts.`)
})
.catch(e => {
console.log('Pact contract publishing failed: ', e)
.catch(error => {
throw new Error(`Pact contract publishing failed: ${error}`)
})

0 comments on commit d26803b

Please sign in to comment.