Fix eq? in recording failures

This commit is contained in:
Christopher Baines 2025-07-10 23:48:52 +01:00
parent 0e11540fe3
commit 2b6bdcac08

View file

@ -3528,7 +3528,7 @@ SKIP LOCKED")
(with-exception-handler (with-exception-handler
(lambda (exn) (lambda (exn)
(unless (eq? job-not-found-exception) (unless (eq? exn job-not-found-exception)
;; Use a new connection in case the outer conn is unusable ;; Use a new connection in case the outer conn is unusable
(with-postgresql-connection (with-postgresql-connection
(simple-format #f "load-new-guix-revision ~A record failure" id) (simple-format #f "load-new-guix-revision ~A record failure" id)