[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53762: Improve error message when during url retrieving network conn
From: |
Robert Pluim |
Subject: |
bug#53762: Improve error message when during url retrieving network connection is lost |
Date: |
Tue, 08 Feb 2022 09:40:53 +0100 |
>>>>> On Mon, 07 Feb 2022 16:48:57 +0000, emacsq via "Bug reports for GNU
>>>>> Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org> said:
>> Sure, that can be done. Does the patch actually solve the problem,
emacsq> emacsq?
emacsq> We have information if it's a network connection: if (NETCONN_P
(proc))
emacsq> So using that we can improve the message. Something like:
emacsq> if (NETCONN_P (proc))
emacsq> "Network error: <process> <error message>"
emacsq> else
emacsq> "Process <process> not running: <error message>"
`status_message' already produces different messages based on whether
itʼs a network connection, so I donʼt think thatʼs necessary.
Have you been able to try the original patch? I now realise that
youʼre on windows, which explains why you were seeing problems
originally.
Robert
--