diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2024-06-03 01:10:21 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-06-05 08:41:13 +0200 |
commit | 77d08620b5b2a69ee300eca66165a5c6492919d0 (patch) | |
tree | f23da9ecd5cc016b5fddf78041a10ba97d14484b /doc | |
parent | a647e1c66c3d96ef3d48d8e0e54d48276e677819 (diff) | |
download | aerc-77d08620b5b2a69ee300eca66165a5c6492919d0.tar.gz |
accounts: skip accounts with errors instead of exiting
Currently, if something is wrong with an account, say the password
command has issues, aerc will exit. When you have multiple accounts, not
starting any of them does not make much sense. Instead of exiting, drop
the account that failed to parse and log the appropriate error messages.
Since the current behaviour when starting aerc with the -a flag is that
if the user specifies an account that doesn't exist, aerc exits with an
error, the above modification will still lead to aerc exiting when using
the -a flag and having an unparsable account. Instead of exiting, log an
error message.
The only sideeffect of the above modifications, is that in case all the
potential accounts are dropped, the user will be shown the new account
dialog instead of exiting.
Changelog-changed: Unparsable accounts are skipped, instead of aerc
exiting with an error.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions