refresh: Remove exception catch-all.
authorLudovic Courtès <ludo@gnu.org>
Wed, 21 Oct 2015 12:34:57 +0000 (14:34 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 21 Oct 2015 12:44:41 +0000 (14:44 +0200)
* guix/scripts/refresh.scm (update-package): Remove 'catch #t'.

guix/scripts/refresh.scm

index bbfdf24..99fdc2c 100644 (file)
@@ -153,12 +153,8 @@ specified with `--select'.\n"))
 KEY-DOWNLOAD specifies a download policy for missing OpenPGP keys; allowed
 values: 'interactive' (default), 'always', and 'never'."
   (let-values (((version tarball)
-                (catch #t
-                  (lambda ()
-                    (package-update store package updaters
-                                    #:key-download key-download))
-                  (lambda _
-                    (values #f #f))))
+                (package-update store package updaters
+                                #:key-download key-download))
                ((loc)
                 (or (package-field-location package 'version)
                     (package-location package))))