bad error handling
This commit is contained in:
parent
93c1b6cc4d
commit
624aff860e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
bin/
|
||||
tags
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
(ql:register-local-projects)
|
||||
(ql:quickload :geml/bin)
|
||||
|
||||
(sb-ext:save-lisp-and-die "bin/geml-server"
|
||||
|
|
|
@ -41,5 +41,7 @@
|
|||
((getf options :version)
|
||||
(format t "~a~%" (asdf:component-version (asdf:find-system 'geml))))
|
||||
(t (let ((settings (cl-ini:parse-ini (getf options :config))))
|
||||
(start-server settings))))))
|
||||
(handler-case (start-server settings)
|
||||
;; TODO handle more specific cases
|
||||
(error (c) (format t "Server Error: ~A~%" c))))))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue