diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-03-01 15:38:11 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-03-01 15:38:11 +0100 |
commit | 706e9e575d136299ef7d2623842c7a47dfbc6e27 (patch) | |
tree | 25786020a60337577acdc24aec060a37f0279620 /.gitmodules | |
parent | 1f7fd80032ef74015bb9a731e7c9a0a6d5d41f42 (diff) | |
download | patches-706e9e575d136299ef7d2623842c7a47dfbc6e27.tar patches-706e9e575d136299ef7d2623842c7a47dfbc6e27.tar.gz |
substitute-binary: Gracefully handle HTTP GET errors.
* guix/http-client.scm (&http-get-error): New condition type.
(http-fetch): Raise it instead of using 'error'.
* guix/scripts/substitute-binary.scm (fetch) <http>: Wrap body into
'guard' form; gracefully handle 'http-get-error?' conditions.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions