1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 03:27:59 +01:00

Improve log message to contain 'line' in FileBasedOpenPgpTrustStore

This commit is contained in:
Florian Schmaus 2018-08-17 12:22:37 +02:00
parent b36b19d864
commit 97feeb2e2c

View file

@ -79,8 +79,8 @@ public class FileBasedOpenPgpTrustStore extends AbstractOpenPgpTrustStore {
trust = Trust.valueOf(line);
break;
} catch (IllegalArgumentException e) {
LOGGER.log(Level.WARNING, "Skipping invalid trust record in line " + lineNr + " of file " +
file.getAbsolutePath());
LOGGER.log(Level.WARNING, "Skipping invalid trust record in line " + lineNr + " \"" + line
+ "\" of file " + file.getAbsolutePath());
}
}
return trust != null ? trust : Trust.undecided;