guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#40668] [PATCH] installer: Fix backtrace display.


From: Ludovic Courtès
Subject: [bug#40668] [PATCH] installer: Fix backtrace display.
Date: Fri, 17 Apr 2020 23:07:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

Mathieu Othacehe <address@hidden> skribis:

> The 'syslog' macro cannot be resolved in the pre-unwind-handler
> context. Failed to resolve 'syslog' in this context resulted in the swallowing
> of all installation errors.
>
> Fixes 5c04b00cf463a543b8ffc9eb55991f6b4cc145dd.
>
> * gnu/installer.scm (installer-program): Do not try to resolve 'syslog' macro
> in the pre-unwind-handler.

[...]

> Since the commit 5c04b00c, error reporting in the installer is broken. Sadly
> this means that every error happening in the 1.1.0 release will result in an
> installer restart, without any error information reporting. 

Oh, that’s terrible.  :-/  Sorry about that.

> -                  (syslog "crashing due to uncaught exception: ~s ~s~%"
> -                          key args)
> +                  ((@@ (gnu installer utils) syslog)
> +                   "crashing due to uncaught exception: ~s ~s~%"
> +                   key args)

Please add (gnu installer utils) to the list of use-modules.
‘@@’ should only be used in extreme situations.

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]