Subject: Re: bug#53762: Improve error message when during url retrieving network connection is lost

From: Robert Pluim <[email-masked]>
Date: Mon, 07 Feb 2022 14:56:50 +0100

>>>>> On Sat, 05 Feb 2022 07:57:31 +0100, Lars Ingebrigtsen <[email-masked]> said:

    Lars> Robert Pluim <[email-masked]> writes:
    >> Does something like this do the trick? Iʼve not been able to get a
    >> reliable test case for it yet.

    Lars> [...]

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

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

Sure, that can be done. Does the patch actually solve the problem,
emacsq?

Robert
--