Skip to content

Commit

Permalink
fix: redirect log messages to stderr
Browse files Browse the repository at this point in the history
This makes error logs show up in VSCode's error window without
interfering with communication over stdout.
  • Loading branch information
fhunleth authored and mhanberg committed Aug 28, 2023
1 parent 0b0048f commit 90e80f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ import Config

config :next_ls, :indexing_timeout, 100

config :logger, :default_handler, config: [type: :standard_error]

import_config "#{config_env()}.exs"

0 comments on commit 90e80f7

Please sign in to comment.