phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit eff750464cbca951b1314aff63c8ed9e07d74f0f
Author: Ludovic Courtès <[email protected]>
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."