diff options
author | Robin Jarry <robin@jarry.cc> | 2022-11-02 11:44:24 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-11-03 10:15:12 +0100 |
commit | 14ceca320065656ea31994191f9e74d254a72e04 (patch) | |
tree | 9b6851e78114a4f710ade83f60501b16fd5ce3f1 /lib/statusline/texter.go | |
parent | 7565a96525edb518129c7892843130bf0948eeb6 (diff) | |
download | aerc-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/statusline/texter.go')
0 files changed, 0 insertions, 0 deletions