[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: ui: Report file names in 'system-error' exceptions from 'delete-f
From: |
Ludovic Courtès |
Subject: |
04/10: ui: Report file names in 'system-error' exceptions from 'delete-file'. |
Date: |
Tue, 3 Jul 2018 11:50:14 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 90b144d22d001a832a8fb345a7d71e9c657c0c86
Author: Ludovic Courtès <address@hidden>
Date: Tue Jul 3 11:02:54 2018 +0200
ui: Report file names in 'system-error' exceptions from 'delete-file'.
* guix/ui.scm (delete-file): New error-reporting wrapper.
---
guix/ui.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/guix/ui.scm b/guix/ui.scm
index c1101eb..66c9233 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -520,6 +520,9 @@ FILE."
(set! canonicalize-path
(error-reporting-wrapper canonicalize-path (file) file))
+(set! delete-file
+ (error-reporting-wrapper delete-file (file) file))
+
(define (make-regexp* regexp . flags)
"Like 'make-regexp' but error out if REGEXP is invalid, reporting the error
- branch master updated (13f5eb3 -> a51cf16), Ludovic Courtès, 2018/07/03
- 02/10: syscalls: Define AT_SYMLINK_NOFOLLOW et al., Ludovic Courtès, 2018/07/03
- 01/10: deduplication: Remove 'false-if-system-error', now unused., Ludovic Courtès, 2018/07/03
- 03/10: database: 'reset-timestamps' now correctly handles symlinks., Ludovic Courtès, 2018/07/03
- 04/10: ui: Report file names in 'system-error' exceptions from 'delete-file'.,
Ludovic Courtès <=
- 05/10: guix system: Make 'init' idempotent again., Ludovic Courtès, 2018/07/03
- 07/10: tests: basic: Wait for /var/run/shepherd/socket to be ready., Ludovic Courtès, 2018/07/03
- 06/10: Revert "packages: Optimize 'package-transitive-supported-systems'.", Ludovic Courtès, 2018/07/03
- 10/10: gnu: Update stellarium to 0.18.0., Ludovic Courtès, 2018/07/03
- 08/10: gnu: Add pocl., Ludovic Courtès, 2018/07/03
- 09/10: gnu: emacs-helm-system-packages: Update to 1.10.0., Ludovic Courtès, 2018/07/03