GNU bug report logs -
#23424
better error reporting when package archives have issues
Previous Next
Full log
View this message in rfc822 format
> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> Date: Mon, 02 May 2016 23:18:38 +0000
> Cc: 23424 <at> debbugs.gnu.org
>
> So can we have something like:
> - If (apply url-callback-function url-callback-arguments) returns an error, then extract the url being fetched from
> url-callback-function and print some like "Error incurred when when processing XYZ url.". In this case, we
> know that read-from-string threw an error. So we can even say that the string fetched from XYZ url could not
> be parsed as a valid lisp form (it does not necessarily mean that it read an empty string; in this case the lisp
> form was incomplete).
Can you propose a patch?
> The value of url-callback-function has a lot of other info which I do not understand (I spy mainly the URL in it
> and "read-from-string" in it). But may be using all the info in that var, we can have a well constructed error
> message that can tell us what exactly went wrong. What do you think?
I know almost nothing about that code, perhaps someone else could
answer.
This bug report was last modified 9 years and 99 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.