Commit 83b9374f authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

In "serializeEvents()" of class "", use...

In "serializeEvents()" of class "", use "prettyWriter()" instead of "writeValueAsString()" to get a nicely formatted output under "Event" tab.
parent d968c6e0
Pipeline #82538 failed with stages
in 110 minutes and 6 seconds
......@@ -334,7 +334,7 @@ public abstract class StateJsonConverter {
public static String serializeEvents(EventInfoStore eventInfoStore)
throws JsonProcessingException {
return writer.writeValueAsString(mapper.convertValue(eventInfoStore, JsonNode.class));
return prettyWriter.writeValueAsString(mapper.convertValue(eventInfoStore, JsonNode.class));
public static ObjectNode serializeEventsToNode(EventInfoStore eventInfoStore) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment