Skip to content

Commit

Permalink
Improve diagnostic log
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdallo committed Jun 3, 2022
1 parent 6ea60a6 commit 3514f39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/src/clojure_lsp/server.clj
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@
db*]
producer/ILSPProducer
(publish-diagnostic [_this diagnostic]
(producer/publish-diagnostic lsp-producer diagnostic))
(shared/logging-time
(str (format "Publishing %s diagnostics for %s" (count (:diagnostics diagnostic)) (:uri diagnostic))
" took %s")
(producer/publish-diagnostic lsp-producer diagnostic)))
(refresh-code-lens [_this]
(producer/refresh-code-lens lsp-producer))
(publish-workspace-edit [_this edit]
Expand Down

0 comments on commit 3514f39

Please sign in to comment.