-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pact doesn't display any useful errors when actual and expected requests are different #1113
Comments
Thanks so much for the repro - this will be very helpful! |
I had a quick look tonight. It's a curious one, the error message is being formatted correctly, but is being truncated (I think) by the logger. If I add an adjacent log at level
That might help future me or somebody else get to the bottom of it. |
I have a similar issue. My output is
This bug seems to be still present Software versions |
Thanks. It's not clear where the output is being truncated. Any help would be much appreciated if you're willing to dive into this. |
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
Log level INFO. When the actual consumer request is different from the request specified in pact mock provider, the pact should show useful error highlighting the mismatch.
Actual behaviour
Log level INFO. When the actual consumer request is different from the request specified in pact mock provider, the pact just fails without any useful information about the differences.
Steps to reproduce
Relevant log files
Attached the log file of the same test by re-running it in DEBUG mode.
pact-failure-debug-log.log
The text was updated successfully, but these errors were encountered: