guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

49/66: profiles: Use a &message error condition instead of 'error'.


From: Manolis Fragkiskos Ragkousis
Subject: 49/66: profiles: Use a &message error condition instead of 'error'.
Date: Thu, 21 May 2015 12:52:06 +0000

phant0mas pushed a commit to branch wip-hurd
in repository guix.

commit eff750464cbca951b1314aff63c8ed9e07d74f0f
Author: Ludovic Court├Ęs <address@hidden>
Date:   Mon May 4 22:41:31 2015 +0200

    profiles: Use a &message error condition instead of 'error'.
    
    * guix/profiles.scm (sexp->manifest): Use 'raise' instead of 'error'.
---
 guix/profiles.scm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/guix/profiles.scm b/guix/profiles.scm
index fd2afc0..8445e00 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -278,7 +278,8 @@ procedure is here for backward-compatibility and will 
eventually vanish."
                                   search-paths))))
            name version output path deps search-paths)))
     (_
-     (error "unsupported manifest format" sexp))))
+     (raise (condition
+             (&message (message "unsupported manifest format")))))))
 
 (define (read-manifest port)
   "Return the packages listed in MANIFEST."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]