Re: [PATCH] config: Inform user if config file is broken

Subject: Re: [PATCH] config: Inform user if config file is broken

Date: Wed, 06 Sep 2023 12:48:15 -0300

To: Eric Blake, notmuch@notmuchmail.org

Cc:

From: David Bremner


Eric Blake <eblake@redhat.com> writes:

>
> I'm not sure if this is the best approach (as this is my first ever
> patch to notmuch), but it's better than nothing.

Unfortunately we can't just print from there because it is in a shared
library (whose clients might not appreciate output).  Something _almost_
equivalent can be done with _notmuch_database_log, but that still
requires the caller to read those logs with
notmuch_database_status_string.

d

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: