Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit e22aeaa

Browse files
committed
fix: prefix logs with [NextLS]
1 parent fd35e63 commit e22aeaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/next_ls.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ defmodule NextLS do
162162
wait_until(fn ->
163163
NextLS.Runtime.ready?(runtime)
164164
end) do
165-
GenLSP.error(lsp, "Failed to start runtime")
165+
GenLSP.error(lsp, "[NextLS] Failed to start runtime")
166166
raise "Failed to boot runtime"
167167
end
168168

@@ -297,7 +297,7 @@ defmodule NextLS do
297297
end
298298

299299
def handle_info({:log, message}, lsp) do
300-
GenLSP.log(lsp, String.trim(message))
300+
GenLSP.log(lsp, "[NextLS] " <> String.trim(message))
301301

302302
{:noreply, lsp}
303303
end

0 commit comments

Comments
 (0)