Hi @channel, Do you know how I can enable pact to ...
# pact-js
s
Hi @channel, Do you know how I can enable pact to give more details on the error message? When verification fails on the provider testing part, there's not much to go on based on the msg. I have tried logLevels "debug", "trace" and "info" but the same insufficient message is returned. Does not give me enough to workout what the problem is and what to fix. Thanks for the time.
Copy code
[2022-10-24 06:22:29.452 +0000] ERROR (33504 on xxxxxxx): pact-core@13.10.0: Verification unsuccessful
[2022-10-24 06:22:29.452 +0000] TRACE (33504 on xxxxxxx): pact@10.1.4: Verification failed(Verfication failed), closing server
Pact verification failed :( Error: Verfication failed
    at C:\Users\d832076\Desktop\Workspace\pact-sample-test\node_modules\@pact-foundation\pact-core\src\verifier\nativeVerifier.ts:50:20
Followed @Yousaf Nabi (pactflow.io)’s scripts here https://github.com/YOU54F/pact-playwright-example
m
hmm my suggestion is to setup a test repo that you can share with us to reliably reproduce the problem for. If it’s Yousaf’s example above, it might just need a windows build runner added to it to illuminate the problem
s
that was actually my example script that Yousaf fixed. I attached my script in https://pact-foundation.slack.com/archives/C9VBGLUM9/p1666672687071129 He mentioned he's also experienced the same problem.