diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-07 23:31:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-08 00:05:45 +0200 |
commit | 93add9bf7d73b6a6ed2d0cf85778b26aa38fd194 (patch) | |
tree | 047402f851bd0c440b7f2112a8d92745790d0dd7 /guix/records.scm | |
parent | 1c86577d624b97a03138640b4d849823b504570e (diff) | |
download | guix-patches-93add9bf7d73b6a6ed2d0cf85778b26aa38fd194.tar guix-patches-93add9bf7d73b6a6ed2d0cf85778b26aa38fd194.tar.gz |
reconfigure: Correctly re-throw SRFI-34 exceptions on Guile 3.
Previously, we'd just print an ugly backtrace when running on Guile 3
because the '%exception throw would not be caught anywhere.
Reported by Arne Babenhauserheide <arne_bab@web.de>
in <https://bugs.gnu.org/40496>.
* guix/scripts/system/reconfigure.scm (install-bootloader-program): In
'catch' handler, match '%exception and use 'raise-exception' instead of
'throw' to rethrow in that case.
Diffstat (limited to 'guix/records.scm')
0 files changed, 0 insertions, 0 deletions