mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
ui: Don't report "build failed:" for daemon error messages.
Until now we'd get things like: guix build: error: build failed: build of `/gnu/store/….drv' failed or: $ guix gc -d /sdf guix gc: error: build failed: path `/sdf' is not in the store which is kinda ridiculous. * guix/ui.scm (call-with-error-handling): Remove "build failed:" prefix for 'store-protocol-error?'.
This commit is contained in:
parent
ba5e89be8c
commit
e6b065b299
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ (define (manifest-entry-output* entry)
|
||||||
(strerror (store-connection-error-code c))))
|
(strerror (store-connection-error-code c))))
|
||||||
((store-protocol-error? c)
|
((store-protocol-error? c)
|
||||||
;; FIXME: Server-provided error messages aren't i18n'd.
|
;; FIXME: Server-provided error messages aren't i18n'd.
|
||||||
(leave (G_ "build failed: ~a~%")
|
(leave (G_ "~a~%")
|
||||||
(store-protocol-error-message c)))
|
(store-protocol-error-message c)))
|
||||||
((derivation-missing-output-error? c)
|
((derivation-missing-output-error? c)
|
||||||
(leave (G_ "reference to invalid output '~a' of derivation '~a'~%")
|
(leave (G_ "reference to invalid output '~a' of derivation '~a'~%")
|
||||||
|
|
Loading…
Reference in a new issue