summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-03-01 15:38:11 +0100
committerLudovic Courtès <ludo@gnu.org>2014-03-01 15:38:11 +0100
commit706e9e575d136299ef7d2623842c7a47dfbc6e27 (patch)
tree25786020a60337577acdc24aec060a37f0279620 /gnu
parent1f7fd80032ef74015bb9a731e7c9a0a6d5d41f42 (diff)
downloadguix-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 'gnu')
0 files changed, 0 insertions, 0 deletions