diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-02-11 22:48:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-02-11 23:23:28 +0100 |
commit | 70a50305c495ca96fdec3d31e7e7972cfc54f8ee (patch) | |
tree | 22338809cf111645a14b3ce0ff9b55469adc0ff0 /guix/ssh.scm | |
parent | 5ea206a8a916ff055c1f3840e4a52ab2c123658f (diff) | |
download | gnu-guix-70a50305c495ca96fdec3d31e7e7972cfc54f8ee.tar gnu-guix-70a50305c495ca96fdec3d31e7e7972cfc54f8ee.tar.gz |
ui: Always print the exception upon load errors.
Fixes <https://bugs.gnu.org/34402>.
Reported by <pkill9@runbox.com>.
Previously 'display-error' could be called with the wrong number of
arguments (e.g., for 'git-error' exceptions), and thus nothing at all
was displayed.
* guix/ui.scm (report-load-error): Check whether ARGS matches the
parameters for 'display-error' and call 'print-exception' otherwise.
Diffstat (limited to 'guix/ssh.scm')
0 files changed, 0 insertions, 0 deletions