diff --git a/application/src/main/java/com/ericsson/bss/cassandra/ecchronos/application/EccYamlToMarkdownConverter.java b/application/src/main/java/com/ericsson/bss/cassandra/ecchronos/application/EccYamlToMarkdownConverter.java index 96953fa0a..914f6d161 100644 --- a/application/src/main/java/com/ericsson/bss/cassandra/ecchronos/application/EccYamlToMarkdownConverter.java +++ b/application/src/main/java/com/ericsson/bss/cassandra/ecchronos/application/EccYamlToMarkdownConverter.java @@ -44,7 +44,7 @@ public static void main(final String[] args) } catch (IOException e) { - LOG.error("Error converting YAML to Markdown: {}", e.getMessage(), e); + LOG.error("Error converting YAML to Markdown", e); } } @@ -66,14 +66,14 @@ private static void convertYamlToMarkdown() throws IOException throw new FileNotFoundException("Resource not found: " + yamlFilePath); } - boolean skipLicenseHeader = true; // Skip license header + boolean skipLicenseHeader = true; String line = reader.readLine(); while (line != null) { if (skipLicenseHeader && line.startsWith("#")) { line = reader.readLine(); - continue; // Skip license header lines + continue; } skipLicenseHeader = false;