Skip to content

Commit b0d1595

Browse files
committed
feat(lsp): log errors with lgr-error
1 parent 092bc5f commit b0d1595

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

elsa-lsp.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
(-let* (((&JSONResponse :params :method :id) (lsp--read-json input)))
3232
(condition-case err
3333
(elsa-lsp--on-request id method params)
34-
(error (elsa-log "Elsa lsp error: %s" (error-message-string err)))))))
34+
(error (lgr-error (lgr-get-logger "elsa")
35+
"Elsa lsp error: %s"
36+
(error-message-string err)))))))
3537

3638
(setq input (read-from-minibuffer "")))))
3739

0 commit comments

Comments
 (0)