diff --git a/apps/language_server/lib/language_server/source_file.ex b/apps/language_server/lib/language_server/source_file.ex index 22d0d45d..4371a18f 100644 --- a/apps/language_server/lib/language_server/source_file.ex +++ b/apps/language_server/lib/language_server/source_file.ex @@ -222,8 +222,8 @@ defmodule ElixirLS.LanguageServer.SourceFile do {:ok, opts} rescue - e in Mix.Error -> - IO.warn("Unable to get formatter options for #{path}: #{e.message}") + e -> + IO.warn("Unable to get formatter options for #{path}: #{inspect(e.__struct__)} #{e.message}") :error end end