summaryrefslogtreecommitdiff
path: root/guix/git.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-02-11 22:48:24 +0100
committerLudovic Courtès <ludo@gnu.org>2019-02-11 23:23:28 +0100
commit70a50305c495ca96fdec3d31e7e7972cfc54f8ee (patch)
tree22338809cf111645a14b3ce0ff9b55469adc0ff0 /guix/git.scm
parent5ea206a8a916ff055c1f3840e4a52ab2c123658f (diff)
downloadguix-patches-70a50305c495ca96fdec3d31e7e7972cfc54f8ee.tar
guix-patches-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/git.scm')
0 files changed, 0 insertions, 0 deletions