diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-07-15 01:11:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-07-15 01:36:24 +0200 |
commit | a168c3e4f8d580f70e1c26bcdfc5b8378b2fa42d (patch) | |
tree | 0a56bad0d46ac769ee6a05ab333d01bcf69a885e /etc | |
parent | 8003a5adaf6f11c8e24bdbe0d99a306f1ae2c507 (diff) | |
download | guix-a168c3e4f8d580f70e1c26bcdfc5b8378b2fa42d.tar.gz |
ui: 'with-error-handling' does not unwind the stack.
Since a07d5e558b5403dad0a59776b950b6b02169c249, we've been getting useless backtraces upon unhandled errors, like this: Backtrace: 1 (primitive-load "/home/…/bin/guix") In guix/ui.scm: 1953:12 0 (run-guix-command _ . _) guix/ui.scm:1953:12: In procedure run-guix-command: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f This change finally gives us real backtraces back. * guix/ui.scm (guard*): New macro. (call-with-error-handling): Use it instead of 'guard'.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions