Hi team, could anyone give some clue why this exce...
# pact-jvm
q
Hi team, could anyone give some clue why this exception "Failed to invoke provider method 'creatPact' (java.lang.RuntimeException)" happened? Thanks!
r
The
creatPact
method was called, but it threw an exception. You need to look at the exception thrown, and at the
creatPact
method (this won't be a Pact method)
q
The test passed but there is a pending failure: Skipping publishing of verification results as it has been disabled (pact.verifier.publishResults is not 'true'). I tested it locally, but I didn't see any exception thrown during the runtime, how could I get the detail about the error?
r
The easiest way would be to add a try/catch to the
creatPact
method and print out the exception stack trace.
You can also try setting the
pact.showStacktrace
JVM system property to
true