We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04dae2b commit 744c35fCopy full SHA for 744c35f
lib/elixir_sense/core/type_info.ex
@@ -231,14 +231,11 @@ defmodule ElixirSense.Core.TypeInfo do
231
rescue
232
e ->
233
if Version.match?(System.version(), ">= 1.18.0-dev") do
234
- Logger.error(
235
- "Macro.to_string(#{inspect(sanitized)}) returned invalid code. Please report that to elixir project."
+ Logger.warning(
+ "Macro.to_string(#{inspect(sanitized)}) returned invalid code. If you believe this to be an error please report that to elixir project."
236
)
237
-
238
- reraise e, __STACKTRACE__
239
- else
240
- string
241
end
+ string
242
243
244
string
0 commit comments