-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
[engine] Use pretty logging when saving maps and lists #3799
base: master
Are you sure you want to change the base?
Conversation
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## master #3799 +/- ##
============================================
- Coverage 96.99% 96.99% -0.01%
- Complexity 6083 6086 +3
============================================
Files 851 851
Lines 17449 17452 +3
Branches 1134 1134
============================================
+ Hits 16925 16927 +2
- Misses 418 419 +1
Partials 106 106
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -69,7 +73,9 @@ public void putVariable(VariableScope variableScope, String variableKey, Object | |||
else | |||
{ | |||
LOGGER.atInfo() | |||
.addArgument(variableValue) | |||
.addArgument(() -> variableValue instanceof Map || variableValue instanceof Collection | |||
? jsonUtils.toPrettyJson(variableValue) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we shouldn't convert collections to JSON-s
No description provided.