From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0MKbHMfQZWGMgwAAgWs5BA (envelope-from ) for ; Tue, 12 Oct 2021 20:15:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2K8yGMfQZWG8fAAAB5/wlQ (envelope-from ) for ; Tue, 12 Oct 2021 18:15:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CCEFBE31B for ; Tue, 12 Oct 2021 20:15:34 +0200 (CEST) Received: from localhost ([::1]:56220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maMJJ-000202-Te for larch@yhetil.org; Tue, 12 Oct 2021 14:15:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maMIo-0001zq-Ih for guix-patches@gnu.org; Tue, 12 Oct 2021 14:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maMIo-0002mw-96 for guix-patches@gnu.org; Tue, 12 Oct 2021 14:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maMIo-0004ZV-4u for guix-patches@gnu.org; Tue, 12 Oct 2021 14:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#46805] [PATCH] guix: ui: Improved error reporting when user file eval fails References: In-Reply-To: Resent-From: Rovanion Luckey Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Oct 2021 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46805 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46805@debbugs.gnu.org Received: via spool by 46805-submit@debbugs.gnu.org id=B46805.163406248017520 (code B ref 46805); Tue, 12 Oct 2021 18:15:02 +0000 Received: (at 46805) by debbugs.gnu.org; 12 Oct 2021 18:14:40 +0000 Received: from localhost ([127.0.0.1]:53064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maMIS-0004YV-KJ for submit@debbugs.gnu.org; Tue, 12 Oct 2021 14:14:40 -0400 Received: from mail-il1-f172.google.com ([209.85.166.172]:40552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maMIO-0004YD-Tm for 46805@debbugs.gnu.org; Tue, 12 Oct 2021 14:14:39 -0400 Received: by mail-il1-f172.google.com with SMTP id f15so13714ilu.7 for <46805@debbugs.gnu.org>; Tue, 12 Oct 2021 11:14:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=PgxM17jkFMYkdUpow77tg0RQGyaVzx+SLJzFl2Yyyic=; b=ZUD8UVOEWrVCTBhX2Mpevx05MJh4iUUr4ESWbVeDax5IMgEU8jVaUfizXSSQKUoEKJ eWibW8lhREXUtco2V/jLUsYwIertJlJh2PxFLFvg3gPhH6391HzdVjTsQegluhNRc07c g28Z3NPmIb5qka/1gU+NGnpJnElnvzalmXnYPiDQ2Q9XhrIj4MkSOeboDXUYf2TNq+Vu Nls0VZDhKiSP6QizrTC6FuhUEuxvgIktpVE8ri63zc9QS59RQhxwiPz585ndw98yE1sW R2CvI3ksPoWOESYF5Aaqskj2t8pniGMQ0wBXYMe+jg6LX2N++ZDzLX7iW0zULd2SdFU+ ZD8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PgxM17jkFMYkdUpow77tg0RQGyaVzx+SLJzFl2Yyyic=; b=xuW4lD5D9rD1BEQwcJCBB63OE4CI3ElTeBRveI0/ptNGDvF7fk9/JBTbSO3TqnalYr At612gPR8GG9qOAl2EDuuEXrv+wIq90hRMy8JKg3WCj7eKi/groLAVxOPx/xn3h4AM9a h2c44zrjhRezvw6/960EN7Oe1WGSiWopGyXCAkdmozwi0d711ac7PfDOrUI+Q/gmy5Fo IsrwkE+NMBuXlzKymwUmUsHRIboqeZikbbYF8YySrhwxRXAF0M045M4VJFRYSrM6V0Nh BlaOy1hrMqclAnnGbglOtmd3lg6ozS2QmhUAzqZ/Uwhu+s3BlGrVOBiKKgG9/jpiIral eGAA== X-Gm-Message-State: AOAM530hQZtBmPrUcynG/z9MaPxzMvetWioeVFZ8kR7VHoBGoWNba4m9 eBFoOvcApN8DvhY+U/9/EYy/d9jcVowHUEjdIpZ3DR9Wsm7Ibw== X-Google-Smtp-Source: ABdhPJzt9Ghko+vT8UoSgcq894XjfggBnry0fgAPlhvkGf1SW8GKPG+rb7mVulqq6rMiHA+P8jsx+TMn2qYP1Zq142I= X-Received: by 2002:a05:6e02:1025:: with SMTP id o5mr26349162ilj.133.1634062471421; Tue, 12 Oct 2021 11:14:31 -0700 (PDT) MIME-Version: 1.0 From: Rovanion Luckey Date: Tue, 12 Oct 2021 20:14:05 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000002663fb05ce2bd125" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634062534; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=PgxM17jkFMYkdUpow77tg0RQGyaVzx+SLJzFl2Yyyic=; b=YUFgzB+g1PmWcN0NwrlCVhYoNKwF6JxcONAavYSe2Azj//3EBAkZkiaD1wZz7SmHqc8vuP XUjiru0s5gC2vDZ8jXSv/utMpH8UZdiDL7N6qtymSp/AxZ9v6x4VrXQLVnSat73y1zzZfk 3JAjCGyYXX+orJ8G6unY6G5cjjrSKdkN9VjrV8TrYOaMhOTl1Q+l09uo5RJC8MqFIaxNFY wDOkjgjtQHFiEyxZeNTrw8g/iEft7P8GMd6Mu6r6o+rEivfDsRfzqFZoEl+CKHU+QR0Vhz LSaqEdlYKubw4bx7J6DPhS7iUlqc1uOs/1oMhQxZcGNrYA+B+F8LG4Hph5TXrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634062534; a=rsa-sha256; cv=none; b=BgqKUglj/khDLfYki0nBTE2Cq3kiut4WnEYCj2SgU39QJ3HTWamLQq6VwojiUXkVHwVAxN 6t30A2iBEIqv4FSsUA+nXpJbV5YGWzRTwI3keFEz4l4DC/zmSezLZtkEoBwgqAEINeMD0s IXFB99P7VjNy+12YRV5dhExH7M8xlcx54d8+I+4ZeKFZv2OQnhKBjqFDNuQbC/ipKyOeBB mn9jOyYoDwn4LIb3HO+8Me1MTIh/+9mXsripv3ApdTycEBr2dVSbXTzlYEHQEiISiHydf9 3uFuB4QF4DgK7touufwEFqWyx1OjuhW0JchBe6pFwOlVedKa7Sp30wp0OBSuiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZUD8UVOE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZUD8UVOE; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CCEFBE31B X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4eXm18ik9kq5 --0000000000002663fb05ce2bd125 Content-Type: text/plain; charset="UTF-8" I should pattern match instead of using that long (car (cdr (car))) line like something along the lines of (let ((which-file-failed (match rest ((_ _ file) file)))) ...). This will need the module (ice-9 match). --0000000000002663fb05ce2bd125 Content-Type: text/html; charset="UTF-8"
I should pattern match instead of using that long (car (cdr (car))) line like something along the lines of (let ((which-file-failed (match rest ((_ _ file) file)))) ...). This will need the module (ice-9 match).
--0000000000002663fb05ce2bd125--