melib/backends.rs: fix notmuch error shown on any missing backend

issue-133
Manos Pitsidianakis 2022-09-24 22:23:43 +03:00
parent e450ad0f9c
commit c6bdda03cf
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ impl Backends {
""
},
key,
if cfg!(feature = "notmuch_backend") {
if cfg!(feature = "notmuch_backend") && key == "notmuch" {
NOTMUCH_ERROR_DETAILS
} else {
""