[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: ui: Display fix hints in the case where we have location info.
From: |
Ludovic Courtès |
Subject: |
04/08: ui: Display fix hints in the case where we have location info. |
Date: |
Wed, 7 Mar 2018 05:22:49 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit e1ba6d49ea4df327e4dde9a994c4a89b71484d69
Author: Ludovic Courtès <address@hidden>
Date: Wed Mar 7 10:52:24 2018 +0100
ui: Display fix hints in the case where we have location info.
* guix/ui.scm (call-with-error-handling): Display fix-hints in the
error + message case.
---
guix/ui.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guix/ui.scm b/guix/ui.scm
index a4943c2..5b87f1e 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -639,6 +639,8 @@ directories:~{ ~a~}~%")
(G_ "~a: error: ~a~%")
(location->string (error-location c))
(gettext (condition-message c) %gettext-domain))
+ (when (fix-hint? c)
+ (display-hint (condition-fix-hint c)))
(exit 1))
((and (message-condition? c) (fix-hint? c))
(format (current-error-port) "~a: error: ~a~%"
- branch master updated (2468ca0 -> 63d9900), Ludovic Courtès, 2018/03/07
- 04/08: ui: Display fix hints in the case where we have location info.,
Ludovic Courtès <=
- 06/08: linux-initrd: Add a hint for the missing module error., Ludovic Courtès, 2018/03/07
- 01/08: services: dicod: Depend on 'user-processes'., Ludovic Courtès, 2018/03/07
- 08/08: gnu: youtube-viewer: Add '$out/lib/perl5/site_perl/' to search path., Ludovic Courtès, 2018/03/07
- 07/08: gnu: Add IBM Plex font., Ludovic Courtès, 2018/03/07
- 02/08: services: file-systems: Include 'user-file-systems' service., Ludovic Courtès, 2018/03/07
- 03/08: linux-initrd: Factorize 'check-device-initrd-modules'., Ludovic Courtès, 2018/03/07
- 05/08: ui: 'display-hint' preserves Texinfo formatting., Ludovic Courtès, 2018/03/07