From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: guix-package --roll-back Date: Sun, 30 Dec 2012 00:13:54 +0100 Message-ID: <201212300013.54807.andreas@enge.fr> References: <871uejyq9z.fsf@karetnikov.org> <874nj4sbfe.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_yk33Q7jtph77L0e" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp5bR-0005PU-3t for bug-guix@gnu.org; Sat, 29 Dec 2012 18:14:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tp5bL-0006uS-G5 for bug-guix@gnu.org; Sat, 29 Dec 2012 18:14:05 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:54571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp5bL-0006uK-5T for bug-guix@gnu.org; Sat, 29 Dec 2012 18:13:59 -0500 In-Reply-To: <874nj4sbfe.fsf@karetnikov.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --Boundary-01=_yk33Q7jtph77L0e Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, Am Sonntag, 30. Dezember 2012 schrieb Nikita Karetnikov: > The only problem I see is the following line. > (error "there are no other profiles.") > It will print an ugly backtrace if there are no other profiles. I'm > trying to understand how to handle it in a non-ugly way. How about just printing an error message using "display" and doing nothing else? Andreas --Boundary-01=_yk33Q7jtph77L0e Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit

Hello,

Am Sonntag, 30. Dezember 2012 schrieb Nikita Karetnikov:

> The only problem I see is the following line.

> (error "there are no other profiles.")

> It will print an ugly backtrace if there are no other profiles. I'm

> trying to understand how to handle it in a non-ugly way.

 

How about just printing an error message using "display" and doing nothing else?

 

Andreas

 

--Boundary-01=_yk33Q7jtph77L0e--