diff --git a/guix-data-service/jobs/load-new-guix-revision.scm b/guix-data-service/jobs/load-new-guix-revision.scm index 07610e3..a41599f 100644 --- a/guix-data-service/jobs/load-new-guix-revision.scm +++ b/guix-data-service/jobs/load-new-guix-revision.scm @@ -3528,7 +3528,7 @@ SKIP LOCKED") (with-exception-handler (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 (with-postgresql-connection (simple-format #f "load-new-guix-revision ~A record failure" id)