log tweak

This commit is contained in:
zzz
2019-06-25 13:30:35 +00:00
parent f7d785b6d2
commit ce6551dacd

View File

@ -241,6 +241,7 @@ class BlindCache {
/** /**
* For console ConfigKeyringHelper * For console ConfigKeyringHelper
* @return list is copied
* @since 0.9.41 * @since 0.9.41
*/ */
public synchronized List<BlindData> getData() { public synchronized List<BlindData> getData() {
@ -295,10 +296,10 @@ class BlindCache {
count++; count++;
} catch (IllegalArgumentException iae) { } catch (IllegalArgumentException iae) {
if (log.shouldLog(Log.WARN)) if (log.shouldLog(Log.WARN))
log.warn("Error reading cache entry", iae); log.warn("Error reading cache entry: " + line, iae);
} catch (DataFormatException dfe) { } catch (DataFormatException dfe) {
if (log.shouldLog(Log.WARN)) if (log.shouldLog(Log.WARN))
log.warn("Error reading cache entry", dfe); log.warn("Error reading cache entry: " + line, dfe);
} }
} }
} catch (IOException ioe) { } catch (IOException ioe) {