ui: Report file names in 'system-error' exceptions from 'delete-file'.
* guix/ui.scm (delete-file): New error-reporting wrapper.
This commit is contained in:
parent
e5e5119855
commit
90b144d22d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue