Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uarlouski
Copy link
Member

No description provided.

@uarlouski uarlouski requested a review from a team as a code owner April 4, 2023 10:44
@sonarcloud
Copy link

sonarcloud bot commented Apr 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #3799 (ad57eca) into master (7911bef) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             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              
Impacted Files Coverage Δ
.../java/org/vividus/context/VariableTestContext.java 95.65% <100.00%> (+0.30%) ⬆️

... 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)
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants