refresh: Remove exception catch-all.

* guix/scripts/refresh.scm (update-package): Remove 'catch #t'.
This commit is contained in:
Ludovic Courtès 2015-10-21 14:34:57 +02:00
parent bcb571cba4
commit 577e750580
1 changed files with 2 additions and 6 deletions

View File

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