mu4e-utils: make schema warning/error a bit clearer

Show in the warning buffer.
This commit is contained in:
Dirk-Jan C. Binnema 2021-07-31 01:49:23 +03:00
parent 8a3a125ca3
commit b4ebd6c248
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ process."
;; don't use mu4e-error here; it's running in the process filter context
(cl-case errcode
(4 (user-error "No matches for this search query."))
(110 (display-warning 'mu4e errmsg :error)) ;; schema version.
(t (error "Error %d: %s" errcode errmsg))))