From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CCMsNde4IWSteAAASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 17:40:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KBdBNNe4IWQjKQAAG6o9tA (envelope-from ) for ; Mon, 27 Mar 2023 17:40:07 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9BAB13CE09 for ; Mon, 27 Mar 2023 17:40:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=boula.in header.s=key1 header.b=u8MMP6tn; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=boula.in (policy=quarantine) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679931607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=K+GWC4kKlgmePLtTJLteOHErxo3hIXQ9RQ0JSCykI4E=; b=seV/wZLUqz2SItlZ3pTqkdjprRDjzw159SMMM6cNzsRNew6mnHmoa+BH8cmDHh8P9nffsu JxExJGGbEgfzpjiP3p5N4Q5oWRodpE1+OUU+jzMfBRvOCI082/hiwPag/OJEDwG4ykZ1Vq x/1XrR92kZNNecBX9X+5/MqjC5pdktbLF2jwADE/KUU9zi0vBVOPuYGIlpOzzDzc+AYC6R owTBEYrjAe2BVYIGI1/oIBn0EzZSExjpwGu5PE21uC2pxVD/Dr6uT7pq3aEanYxcb+uXu7 9hx8xvlzPywSWRytTzZ4sXXT68pBiskuUJMxu91xyeRvDw8P/HxaiaPou4OJCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679931607; a=rsa-sha256; cv=none; b=H+Z/0z5TKyPuISxv2uIu9ZPoSBdrl4W9v2jbSwfw2pu6TmDlZDQawztACKFfMKGw97wIYF 5IqTK3QvRVw45obWo4R10X3mLhitvJNn4BV5TSidMYcBbEnQbdhouEhclI+R+bQlsKQNc9 ExrSqJ8d0DX8W7bSfjGyrZq58e20LnzxLBtm8u0v94CziAJDy0E7BHTGWP7+aFCb9OIUgz IwvkvwzTlHTS0M1N9wL+LsCli4VICufUmuDet4/u7l4CGwzU49964IJb5r0xGAsN73Uyed E2LfVU7wXBcjpTJeWJzT13QOz9AwQ1RmBRmoV6+x+msR/r1jJps+aRNd7rKSdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=boula.in header.s=key1 header.b=u8MMP6tn; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=boula.in (policy=quarantine) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id BF8275F42C; Mon, 27 Mar 2023 15:40:05 +0000 (UTC) Received: from out-17.mta1.migadu.com (out-17.mta1.migadu.com [95.215.58.17]) by mail.notmuchmail.org (Postfix) with ESMTPS id B13B05F42C for ; Mon, 27 Mar 2023 15:40:02 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boula.in; s=key1; t=1679931602; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aa8rrePKBmxenmWsccZzwiNGml9ZrmVqveVoArrT20w=; b=u8MMP6tnZakBvDoR38dI3CQ5ByMkZ2mIwoOak46Q7Fds0e6/O37eFKJoX+FAzydKgAOcDr xK7/4Ac+YYJgmXxQw9NNITQMDrvVdfWdhpx4PMm62Ya6UlnNezQcBCkjt/d7W45iTObxgn Tn9ZSD0T+w16souqH2c5l19bT+R4sa9praLLwpIZhXAJ7KSxW5PMlRt6UFvN3WjMefRJ24 v8GQWTyzPIUWcvkSe+r8NQKqDEtgblSt9NqtyC/9TuZY5HZbH7kQ/2E3So7+8b4kB1rZiX tQyjRXWtuWcC398dJ6Ax5KnwtcoiJGdVY3BEZSBZ6E/ojQ0qtcKyrUrIyAIOWg== From: Kevin Boulain To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH 2/2] lib/message-property: catch xapian exceptions In-Reply-To: <87y1ni77ow.fsf@tethera.net> References: <20230227115617.58788-1-kevin@boula.in> <20230227115617.58788-2-kevin@boula.in> <87y1ni77ow.fsf@tethera.net> Date: Mon, 27 Mar 2023 17:40:00 +0200 Message-ID: <87r0ta2ofj.fsf@boula.in> MIME-Version: 1.0 Message-ID-Hash: SHZHMZW742AGGRWDQMEAAFKXSWVKFW7G X-Message-ID-Hash: SHZHMZW742AGGRWDQMEAAFKXSWVKFW7G X-MailFrom: kevin@boula.in X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: X-Migadu-Spam-Score: 6.00 X-Migadu-Spam: Yes X-Migadu-Queue-Id: 9BAB13CE09 X-Spam-Score: 6.00 X-Spam: Yes X-Migadu-Scanner: scn0.migadu.com List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN X-TUID: u/tTMeZfTZWJ On 2023-03-27 at 08:30 -03, David Bremner wrote: > So you should probably test that the status is not success, and > ideally print the message. You can see some examples in > T560-lib-error.sh, in particular in the created file c_tail which > handles checking the error code and printing the message. Good point, it has shown I was missing a add_email_corpus.