From d922d7325c7b50425b60f84fc7be1f8d32ec86fd Mon Sep 17 00:00:00 2001 From: inwit Date: Mon, 24 Jan 2022 11:45:35 +0100 Subject: binds: Warning on unexistent account bindings After commit 175d0ef ("binds: add account specific bindings"), when bindings are defined for an account not defined in accounts.conf, aerc quits with an error. After this commit, a warning is logged and aerc ignores those bindings. Signed-off-by: inwit --- aerc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aerc.go') diff --git a/aerc.go b/aerc.go index b3338ba1..9d83d2cf 100644 --- a/aerc.go +++ b/aerc.go @@ -158,7 +158,7 @@ func main() { logger = log.New(logOut, "", log.LstdFlags) logger.Println("Starting up aerc") - conf, err := config.LoadConfigFromFile(nil, ShareDir) + conf, err := config.LoadConfigFromFile(nil, ShareDir, logger) if err != nil { fmt.Fprintf(os.Stderr, "Failed to load config: %v\n", err) os.Exit(1) -- cgit