Fixed handling of missing systems.
This commit is contained in:
parent
5b3b2a35af
commit
6fb171800a
1 changed files with 3 additions and 2 deletions
|
@ -85,7 +85,8 @@ QL: ~{~A~^~%~}
|
|||
|
||||
|
||||
(defun make-system-info (system-name)
|
||||
(let ((system (asdf:find-system system-name)))
|
||||
(let ((system (handler-case (asdf:find-system system-name)
|
||||
(asdf:missing-component () nil))))
|
||||
(if system
|
||||
(make-instance 'system-info
|
||||
:name system-name
|
||||
|
@ -93,7 +94,7 @@ QL: ~{~A~^~%~}
|
|||
:path (asdf:component-pathname system))
|
||||
(make-instance 'system-info
|
||||
:name system-name
|
||||
:absent-p t
|
||||
:absent t
|
||||
:version nil
|
||||
:path nil))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue