[ https://issues.apache.org/jira/browse/OAK-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-7226: ---------------------------------- Affects Version/s: 1.8.0 > Warn messages ignoring exception parameter > ------------------------------------------ > > Key: OAK-7226 > URL: https://issues.apache.org/jira/browse/OAK-7226 > Project: Jackrabbit Oak > Issue Type: Bug > Components: blob-plugins > Affects Versions: 1.8.0 > Reporter: Marcel Reutegger > Priority: Minor > Fix For: 1.10 > > > There are a few usages of Logger.warn() with a pattern similar to this > example: > {noformat} > log.warn("Error occurred while fetching DataRecord for identifier {}", input, > exeption); > {noformat} > The intention probably is that the third parameter is treated as an exception > and e.g. logged with the stack trace. However, this method signature > interprets the exception as a second argument for the message format. This > means the exception is effectively ignored. -- This message was sent by Atlassian JIRA (v7.6.3#76005)