(setf (eglot--status server) `(,message t))
server `(:message "error ignored, status set"
:id ,id :error ,code)))
- (or timer (funcall make-timer)))
+ (setq timer (or timer (funcall make-timer))))
(eglot--pending-continuations server))
(list id timer)))
(eglot--async-request
server method params
:success-fn (lambda (result) (throw done `(done ,result)))
- :timeout-fn (lambda () (throw done '(error "Timed out")))
+ :timeout-fn (lambda () (throw done
+ `(error
+ ,(format "Request id=%s timed out"
+ (car id-and-timer)))))
:error-fn (eglot--lambda (&key code message _data)
(throw done `(error
,(format "Ooops: %s: %s" code message))))