fix flaky test and improve error handling
just ignore invalid entries
This commit is contained in:
@@ -60,6 +60,10 @@ public class Entry {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
if (this == POISON) {
|
||||
return "POISON ENTRY";
|
||||
}
|
||||
|
||||
final OffsetDateTime date = getDate();
|
||||
return date.format(DateTimeFormatter.ISO_ZONED_DATE_TIME) + " = " + value + " (" + tags + ")";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user