aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-09-10 15:51:40 +0200
committerLudovic Courtès <ludo@gnu.org>2021-09-10 17:30:54 +0200
commit60b42bec8413aa9844e625fb1903257f1bc1e55c (patch)
treecd3267796f25d48ca2829e0b41caae0cbb56bcf8
parentff613c2b68aac539262822490448e637d8f315ba (diff)
downloadguix-60b42bec8413aa9844e625fb1903257f1bc1e55c.tar.gz
guix-60b42bec8413aa9844e625fb1903257f1bc1e55c.zip
swh: 'swh-download' reports revision lookup failures.
* guix/swh.scm (swh-download): Log lookup failures.
-rw-r--r--guix/swh.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/swh.scm b/guix/swh.scm
index 3d5d2a410a..a62567dd58 100644
--- a/guix/swh.scm
+++ b/guix/swh.scm
@@ -697,4 +697,7 @@ wait until it becomes available, which could take several minutes."
(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)))