Ludovic Courtès a168c3e4f8
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'.
2020-07-15 01:36:24 +02:00
..
2019-12-15 00:34:05 +01:00
2020-07-05 03:15:08 +05:30
2019-05-06 23:21:33 +02:00
2020-07-10 00:11:00 +02:00
2020-07-05 16:07:59 +05:30
2020-07-11 11:51:56 +02:00
2020-04-17 23:36:47 +02:00
2020-05-11 23:30:55 +02:00
2019-09-04 13:02:27 +02:00
2020-06-18 14:48:17 +02:00
2020-07-12 10:07:59 +02:00
2020-06-26 16:19:53 +02:00