diff options
| author | David Bremner <david@tethera.net> | 2021-12-25 09:33:05 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-01-15 15:59:39 -0400 |
| commit | fad2e7540bf9309bfb335650ded753e9ed085eff (patch) | |
| tree | fe2526c42d0a11dc5a336de501e23a991da9c31f /lib/database.cc | |
| parent | 64212c7b91cdb7e65a2a28f994f8d060a50ae78c (diff) | |
lib/open: no default mail root in split configurations
If we know the configuration is split, but there is no mail root
defined, this indicates a (lack of) configuration error. Currently
this can only arise in XDG configurations.
Diffstat (limited to 'lib/database.cc')
| -rw-r--r-- | lib/database.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc index 6ef56d56..0effe978 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -311,6 +311,8 @@ notmuch_status_to_string (notmuch_status_t status) return "Database exists, not recreated"; case NOTMUCH_STATUS_BAD_QUERY_SYNTAX: return "Syntax error in query"; + case NOTMUCH_STATUS_NO_MAIL_ROOT: + return "No mail root found"; default: case NOTMUCH_STATUS_LAST_STATUS: return "Unknown error status value"; |
