mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
log eventual network errors on QML auto reload for mobile
This commit is contained in:
parent
170548dbc8
commit
3cc11cbe4d
2 changed files with 12 additions and 6 deletions
|
|
@ -37,9 +37,12 @@
|
|||
(let ((secs 0)
|
||||
(ini t))
|
||||
(defun auto-reload-qml ()
|
||||
(let ((curr/file (ignore-errors
|
||||
(x:split (curl (x:cc *remote-ip* "cgi-bin/qml-last-modified.py"))
|
||||
#.(coerce (list #\Return #\Newline) 'string)))))
|
||||
(multiple-value-bind (curr/file error)
|
||||
(ignore-errors
|
||||
(x:split (curl (x:cc *remote-ip* "cgi-bin/qml-last-modified.py"))
|
||||
#.(coerce (list #\Return #\Newline) 'string)))
|
||||
(when error
|
||||
(qlog :auto-reload-qml :error error))
|
||||
(when (= 2 (length curr/file))
|
||||
(destructuring-bind (curr file)
|
||||
curr/file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue