Skip to content

Commit

Permalink
fix(formatting): show message when it fails (#497)
Browse files Browse the repository at this point in the history
Shows error messages for well defined errors, but we don't receive
any signal that it failed for a plugin being missing, unfortunately.

Closes #463

refactor: bump styler and format

fix: handle change and save notifications before runtime is ready
  • Loading branch information
mhanberg authored May 22, 2024
1 parent 0b90ec3 commit 0a68789
Show file tree
Hide file tree
Showing 28 changed files with 456 additions and 415 deletions.
4 changes: 2 additions & 2 deletions config/dev.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Config

config :logger, :default_formatter, format: "\n$time $metadata[$level] $message\n", metadata: [:id]

config :logger, :default_handler,
config: [
file: ~c".elixir-tools/next-ls.log",
Expand All @@ -9,5 +11,3 @@ config :logger, :default_handler,
max_no_files: 5,
compress_on_rotate: true
]

config :logger, :default_formatter, format: "\n$time $metadata[$level] $message\n", metadata: [:id]
4 changes: 2 additions & 2 deletions config/prod.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Config

config :logger, :default_formatter, format: "\n$time $metadata[$level] $message\n", metadata: [:id]

config :logger, :default_handler,
config: [
file: ~c".elixir-tools/next-ls.log",
Expand All @@ -9,5 +11,3 @@ config :logger, :default_handler,
max_no_files: 5,
compress_on_rotate: true
]

config :logger, :default_formatter, format: "\n$time $metadata[$level] $message\n", metadata: [:id]
4 changes: 2 additions & 2 deletions config/test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Config

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

config :gen_lsp, :exit_on_end, false

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

0 comments on commit 0a68789

Please sign in to comment.