unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: improve error message for `guix environment'
Date: Mon, 16 Mar 2015 19:49:03 -0400	[thread overview]
Message-ID: <87k2yg1p1s.fsf@fsf.org> (raw)
In-Reply-To: <87mw3d3px6.fsf@gnu.org>

Ludovic Courtès <ludo@gnu.org> writes:

> David Thompson <dthompson2@worcester.edu> skribis:
>
>> From 13113846f0f19b57f271dc71b5cbc606d8c2b68a Mon Sep 17 00:00:00 2001
>> From: David Thompson <dthompson2@worcester.edu>
>> Date: Mon, 16 Mar 2015 08:59:59 -0400
>> Subject: [PATCH] scripts: environment: Improve error messages.
>>
>> * guix/scripts/environment.scm (guix-environmnet): Wrap procedure body with
>>   error handling form.
>
> Oh yes, that’s the right thing to do, please push.

Pushed.

Perhaps it would be a good idea to just wrap '(apply command-main args)'
with 'with-error-handling' in (guix ui) so that every guix subcommand
has friendly error handling by default.  Thoughts?

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

      parent reply	other threads:[~2015-03-16 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16  8:33 improve error message for `guix environment' Tomáš Čech
2015-03-16 13:04 ` David Thompson
2015-03-16 15:47   ` Ludovic Courtès
2015-03-16 16:12     ` Ricardo Wurmus
2015-03-16 16:17       ` Thompson, David
2015-03-16 23:49     ` David Thompson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2yg1p1s.fsf@fsf.org \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).