Improve log message to contain 'line' in FileBasedOpenPgpTrustStore
This commit is contained in:
parent
b36b19d864
commit
97feeb2e2c
|
@ -79,8 +79,8 @@ public class FileBasedOpenPgpTrustStore extends AbstractOpenPgpTrustStore {
|
||||||
trust = Trust.valueOf(line);
|
trust = Trust.valueOf(line);
|
||||||
break;
|
break;
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
LOGGER.log(Level.WARNING, "Skipping invalid trust record in line " + lineNr + " of file " +
|
LOGGER.log(Level.WARNING, "Skipping invalid trust record in line " + lineNr + " \"" + line
|
||||||
file.getAbsolutePath());
|
+ "\" of file " + file.getAbsolutePath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return trust != null ? trust : Trust.undecided;
|
return trust != null ? trust : Trust.undecided;
|
||||||
|
|
Loading…
Reference in New Issue