swh: 'swh-download' reports revision lookup failures.

* guix/swh.scm (swh-download): Log lookup failures.
This commit is contained in:
Ludovic Courtès 2021-09-10 15:51:40 +02:00
parent ff613c2b68
commit 60b42bec84
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -697,4 +697,7 @@ (define* (swh-download url reference output
(swh-download-directory (revision-directory revision) output
#:log-port log-port))
(#f
(format log-port
"SWH: revision ~s originating from ~a could not be found~%"
reference url)
#f)))