diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-11-07 15:56:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-11-07 23:10:41 +0100 |
commit | 4d59596a1c5f6b20870e619cbf67068ac7dd64ff (patch) | |
tree | 46985246b252c9723a5584a6a80073037a842ec9 /po | |
parent | dab2ac2ed53810427bb6a053137091d8d9ab3e56 (diff) | |
download | guix-patches-4d59596a1c5f6b20870e619cbf67068ac7dd64ff.tar guix-patches-4d59596a1c5f6b20870e619cbf67068ac7dd64ff.tar.gz |
ui: 'load*' correctly reports 'read-error' in all cases.
Previously, 'read-error' exceptions other than "missing closing paren"
would not be reported; instead, we'd directly call (exit 1) without
printing anything.
Fixes <https://issues.guix.gnu.org/51463>.
Reported by Alice BRENON <alice.brenon@ens-lyon.fr>.
* guix/ui.scm (report-load-error): Report the error without re-throwing
upon 'read-error'.
* tests/guix-build.sh: Add test.
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions