Skip to content

Commit dc23efb

Browse files
committed
do not warn on failed macro expansion
1 parent b1fa0e1 commit dc23efb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/elixir_sense/core/compiler.ex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,11 +1897,7 @@ defmodule ElixirSense.Core.Compiler do
18971897
callback.(meta, args)
18981898
catch
18991899
# If expanding the macro fails, we just give up.
1900-
kind, payload ->
1901-
Logger.warning(
1902-
"Unable to expand macro #{inspect(module)}.#{fun}/#{length(args)}: #{Exception.format(kind, payload, __STACKTRACE__)}"
1903-
)
1904-
1900+
_kind, _payload ->
19051901
# look for cursor in args
19061902
{_ast, state, _env} = expand(args, state, env)
19071903

0 commit comments

Comments
 (0)