-
Notifications
You must be signed in to change notification settings - Fork 69
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
Improve logging robustness #104
Conversation
Do not pretty print a JSON object when serialization or serialization fail, for details see pact-foundation#103.
I am trying to do an end-to-end test, and build the executable according to instructions and have a question: which version of Ruby should be used, 2.2? |
Hi @bethesque, I would really appreciate a hint regarding following the packaging instructions.
When trying the same with Ruby 2.2 I get:
Which version of Ruby should I use? Or am I missing something in the process? Thanks! |
Tested this locally (found a way to do it without packaging the executable). IMO the PR is ready, please review. |
Firstly, please add a unit test to document this feature. No PRs will be accepted without test coverage. Secondly, the original version of this method takes an object and returns a String. The change you have made means that it will return an object. Can you please explain this? |
Will have a look at the unit test. |
If the method is meant to return a string, then call |
@bethesque Thanks for the hint. IMO the code is ready for review. |
Is there something I can do in regards to this PR? |
Do not pretty print a JSON object when serialization or serialization fail, for details see #103.