mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
Better handling of local browser open errors.
This commit is contained in:
parent
37bd051afa
commit
2b34ffee0d
1 changed files with 4 additions and 1 deletions
|
|
@ -113,5 +113,8 @@ function. If BOOT-FILE is nil path is removed."
|
|||
(defun open-browser (&key (url "http://127.0.0.1:8080"))
|
||||
"Launch on os a web browser on local machine to URL. See BROWSER-OPEN
|
||||
for openning windows on remote machines."
|
||||
(trivial-open-browser:open-browser url))
|
||||
(handler-case (progn
|
||||
(trivial-open-browser:open-browser url))
|
||||
(error (c)
|
||||
(format t "Unable to open browser.~%~%~A" c))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue