GNU bug report logs - #53762
Improve error message when during url retrieving network connection is lost

Previous Next

Package: emacs;

Reported by: emacsq <laszlomail <at> protonmail.com>

Date: Thu, 3 Feb 2022 19:32:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 29.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 53762 <at> debbugs.gnu.org, emacsq <laszlomail <at> protonmail.com>
Subject: bug#53762: Improve error message when during url retrieving network connection is lost
Date: Sat, 05 Feb 2022 07:57:31 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> Does something like this do the trick? Iʼve not been able to get a
> reliable test case for it yet.

[...]

>    if (! EQ (p->status, Qrun))
> -    error ("Process %s not running", SDATA (p->name));
> +    error ("Process %s %s", SDATA (p->name), SDATA (status_message (p)));

I think that's probably an improvement over what we have now, but I
don't really have a good test case, either.  But perhaps "not running"
should be kept, and the status message just be appended?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.