aboutsummaryrefslogtreecommitdiffstats
path: root/lib/structure_helpers_test.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-11-02 11:44:24 +0100
committerRobin Jarry <robin@jarry.cc>2022-11-03 10:15:12 +0100
commit14ceca320065656ea31994191f9e74d254a72e04 (patch)
tree9b6851e78114a4f710ade83f60501b16fd5ce3f1 /lib/structure_helpers_test.go
parent7565a96525edb518129c7892843130bf0948eeb6 (diff)
downloadaerc-14ceca320065656ea31994191f9e74d254a72e04.tar.gz
address-book-cmd: be more lenient with errors
Instead of failing completely when address-book-cmd returns an invalid line, ignore the line and report a warning in the logs. Do not wait for 100 "valid" addresses before bailing out as the command could only output garbage in large quantities. The issue of the command not printing any new line characters still exists. We could address this but I think it would be overkill. Reported-by: Bence Ferdinandy <bence@ferdinandy.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'lib/structure_helpers_test.go')
0 files changed, 0 insertions, 0 deletions