mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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
1 changed files with 3 additions and 0 deletions
|
@ -520,6 +520,9 @@ (define-syntax-rule (error-reporting-wrapper proc (args ...) 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 a new issue