guix-commits
[Top][All Lists]
Advanced

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

03/03: Adapt to the different inferior error handling


From: Christopher Baines
Subject: 03/03: Adapt to the different inferior error handling
Date: Mon, 20 Apr 2020 03:21:05 -0400 (EDT)

cbaines pushed a commit to branch master
in repository data-service.

commit 780ce6627234b622422984cbe76da7de8fd0b104
Author: Christopher Baines <address@hidden>
AuthorDate: Mon Apr 20 08:18:59 2020 +0100

    Adapt to the different inferior error handling
    
    In recent versions of Guix on the Guix Data Service side, I don't think 
these
    are system-error's, but a different type. For compatibility, just catch any
    error.
---
 guix-data-service/jobs/load-new-guix-revision.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix-data-service/jobs/load-new-guix-revision.scm 
b/guix-data-service/jobs/load-new-guix-revision.scm
index 198c0b2..ef4b31b 100644
--- a/guix-data-service/jobs/load-new-guix-revision.scm
+++ b/guix-data-service/jobs/load-new-guix-revision.scm
@@ -1073,7 +1073,7 @@ WHERE job_id = $1"
 
     ;; Normalise the locale for the inferior process
     (catch
-      'system-error
+      #t
       (lambda ()
         (inferior-eval '(setlocale LC_ALL "en_US.utf8") inf))
       (lambda (key . args)



reply via email to

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