ui, lint: Simplify exception handling in Guile 3 style.
authorLudovic Courtès <ludo@gnu.org>
Wed, 26 May 2021 21:06:13 +0000 (23:06 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 1 Jun 2021 21:26:07 +0000 (23:26 +0200)
commit5bcb4f8a58ad316174768c167927c03be3272786
tree45c63a5b2fec99a3aa811ff2584ad738fb6b465a
parent82d8ab01f5cb6d479e3b82c08067e2442ee7cad8
ui, lint: Simplify exception handling in Guile 3 style.

* guix/lint.scm (check-derivation)[try]: Remove "catch #t" wrapping.
* guix/ui.scm (call-with-error-handling): Remove "catch 'system-error"
and move 'system-error handling to the &exception-with-kind-and-args
clause.
guix/lint.scm
guix/ui.scm