From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: ob-ledger errors quietly Date: Sat, 21 Mar 2020 15:51:59 +0000 Message-ID: <875zexk8o0.fsf@ucl.ac.uk> References: <92c88f77-861e-4411-a639-406455dcc481@www.fastmail.com> <87mu8brpws.fsf@ucl.ac.uk> <2fb8530e-e671-45a5-9f07-8111f362f6a9@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43879) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFgPv-0007to-6u for emacs-orgmode@gnu.org; Sat, 21 Mar 2020 11:52:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFgPu-00005U-6b for emacs-orgmode@gnu.org; Sat, 21 Mar 2020 11:52:07 -0400 Received: from mail-eopbgr130109.outbound.protection.outlook.com ([40.107.13.109]:32676 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jFgPt-0008OO-SC for emacs-orgmode@gnu.org; Sat, 21 Mar 2020 11:52:06 -0400 In-Reply-To: <2fb8530e-e671-45a5-9f07-8111f362f6a9@www.fastmail.com> (ob-ledger@tangential.info's message of "Fri, 20 Mar 2020 11:05:52 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: ob-ledger@tangential.info Cc: emacs-orgmode@gnu.org On Friday, 20 Mar 2020 at 11:05, ob-ledger@tangential.info wrote: > On Fri, Mar 20, 2020, at 8:45 AM, Eric S Fraga wrote: >> This a ledger issue, not org. > > I would hope that if ledger throws an error, with exit code 1 and a > message, that ob-ledger might notify me of this. The results were > empty and the echo area was blank. Yes, better error handling would be good. You might like to propose some code? If ledger does return an error status, that could be caught and handled, I would imagine. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-433-g4b2628