From 97feeb2e2ccafbfab3dcec993c9a88a66b5f3c5b Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 17 Aug 2018 12:22:37 +0200 Subject: [PATCH] Improve log message to contain 'line' in FileBasedOpenPgpTrustStore --- .../smackx/ox/store/filebased/FileBasedOpenPgpTrustStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/store/filebased/FileBasedOpenPgpTrustStore.java b/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/store/filebased/FileBasedOpenPgpTrustStore.java index 1699f8745..22d8f0870 100644 --- a/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/store/filebased/FileBasedOpenPgpTrustStore.java +++ b/smack-openpgp/src/main/java/org/jivesoftware/smackx/ox/store/filebased/FileBasedOpenPgpTrustStore.java @@ -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;