Skip to content

Commit

Permalink
[MNT-23960] Changed log statements print format
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosalvado10 committed Feb 6, 2024
1 parent 224d728 commit 5c7a66e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void transform(final String sourceMimetype, final String targetMimetype,
catch (Exception e)
{
fontSize = DEFAULT_FONT_SIZE;
logger.error("Error parsing font size {}, going to set it as {} : {}", pdfFontSize, fontSize, e);
logger.error("Error parsing font size {}, going to set it as {}", pdfFontSize, fontSize, e);
}
}

Expand Down Expand Up @@ -509,7 +509,7 @@ private PDFont getFromFontMapper(String fontName, PDDocument doc)
}
catch (Exception e)
{
logger.error("Error loading font mapping {} : {}", fontName, e);
logger.error("Error loading font mapping {}", fontName, e);
}
}

Expand Down Expand Up @@ -548,7 +548,7 @@ private PDFont getFromFileSystem(String fontName)
}
catch (IOException ioe)
{
logger.error("Error loading font {} from filesystem: {}", fontName, ioe);
logger.error("Error loading font {} from filesystem", fontName, ioe);
}
finally
{
Expand All @@ -560,7 +560,7 @@ private PDFont getFromFileSystem(String fontName)
}
catch (Exception e)
{
logger.error("Error closing font inputstream: " + e.getMessage());
logger.error("Error closing font inputstream", e);
}
}
}
Expand Down

0 comments on commit 5c7a66e

Please sign in to comment.