unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: 53762@debbugs.gnu.org, emacsq <laszlomail@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	[thread overview]
Message-ID: <87pmo1dcmc.fsf@gnus.org> (raw)
In-Reply-To: <87r18j7yfi.fsf@gmail.com> (Robert Pluim's message of "Fri, 04 Feb 2022 10:50:41 +0100")

Robert Pluim <rpluim@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





  reply	other threads:[~2022-02-05  6:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 19:30 bug#53762: Improve error message when during url retrieving network connection is lost emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04  9:50 ` Robert Pluim
2022-02-05  6:57   ` Lars Ingebrigtsen [this message]
2022-02-07 13:56     ` Robert Pluim
2022-02-07 16:48       ` emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-08  8:40         ` Robert Pluim
2022-02-08 21:50           ` emacsq via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-16 17:59             ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmo1dcmc.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=53762@debbugs.gnu.org \
    --cc=laszlomail@protonmail.com \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).