diff options
Diffstat (limited to 'module/vcomponent/util/parse-cal-path.scm')
-rw-r--r-- | module/vcomponent/util/parse-cal-path.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/vcomponent/util/parse-cal-path.scm b/module/vcomponent/util/parse-cal-path.scm index 7a5fea29..4baa647e 100644 --- a/module/vcomponent/util/parse-cal-path.scm +++ b/module/vcomponent/util/parse-cal-path.scm @@ -26,7 +26,10 @@ (prop comp '-X-HNH-DIRECTORY) path) comp)] [(block-special char-special fifo socket unknown symlink) - => (lambda (t) (error (_ "Can't parse file of type ") t))])) + => (lambda (t) (scm-error 'misc-error "parse-cal-path" + (_ "Can't parse file of type ~s") + (list t) + #f))])) (unless (prop cal "NAME") (set! (prop cal "NAME") |