1
0
Fork 0

- [TUI] notify when a parsing error occurred when querying local database.

This commit is contained in:
cage 2024-06-24 12:18:06 +02:00
parent 1f58010447
commit 883d2c0105
1 changed files with 25 additions and 24 deletions

View File

@ -2038,6 +2038,7 @@
(defmethod process-event ((object fediverse-local-query-event)) (defmethod process-event ((object fediverse-local-query-event))
(with-accessors ((payload payload)) object (with-accessors ((payload payload)) object
(tui-utils:with-notify-errors
(multiple-value-bind (statuses destination-folder) (multiple-value-bind (statuses destination-folder)
(fediverse-post-local-search:parse-search-statuses payload) (fediverse-post-local-search:parse-search-statuses payload)
(let ((folder (or destination-folder (let ((folder (or destination-folder
@ -2061,7 +2062,7 @@
(let ((refresh-event (make-instance 'refresh-thread-windows-event (let ((refresh-event (make-instance 'refresh-thread-windows-event
:new-folder folder :new-folder folder
:new-timeline db:+home-timeline+))) :new-timeline db:+home-timeline+)))
(push-event refresh-event)))))) (push-event refresh-event)))))))
;;;; end events ;;;; end events