diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-09-14 23:46:48 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-10-08 11:10:18 -0400 |
commit | 7102c18678dc02d5ee6c77a9a70ae344482af841 (patch) | |
tree | ab73f7b97f6e43244e279fb94320643cdcc3155e /gnu | |
parent | cde87f38cf535d717fd46b19b988404d52f02c59 (diff) | |
download | guix-7102c18678dc02d5ee6c77a9a70ae344482af841.tar.gz guix-7102c18678dc02d5ee6c77a9a70ae344482af841.zip |
utils: Do not raise exceptions in delete-file-recursively.
This makes it so that delete-file-recursively honors its docstring, which says
it should "report but ignore errors".
Fixes <https://issues.guix.gnu.org/43366>.
* guix/build/utils.scm (warn-on-error): New syntax.
(delete-file-recursively): Use it to catch exceptions and print warning
messages.
Reported-by: Fredrik Salomonsson <plattfot@gmail.com>
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions