summaryrefslogtreecommitdiff
path: root/guix/build/hg.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/build/hg.scm')
-rw-r--r--guix/build/hg.scm8
1 files changed, 1 insertions, 7 deletions
diff --git a/guix/build/hg.scm b/guix/build/hg.scm
index 1cceb63433..0ffad7fa2d 100644
--- a/guix/build/hg.scm
+++ b/guix/build/hg.scm
@@ -41,13 +41,7 @@ Mercurial changeset identifier. Return #t on success, #f otherwise."
(mkdir-p directory)
(guard (c ((invoke-error? c)
- (format (current-error-port)
- "hg-fetch: '~a~{ ~a~}' failed with exit code ~a~%"
- (invoke-error-program c)
- (invoke-error-arguments c)
- (or (invoke-error-exit-status c)
- (invoke-error-stop-signal c)
- (invoke-error-term-signal c)))
+ (report-invoke-error c)
(delete-file-recursively directory)
#f))
(with-directory-excursion directory