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 bfefb1f commit c154835Copy full SHA for c154835
lib/elixir_sense/core/normalized/code.ex
@@ -6,6 +6,7 @@ defmodule ElixirSense.Core.Normalized.Code do
6
alias ElixirSense.Core.Behaviours
7
alias ElixirSense.Core.ErlangHtml
8
alias ElixirSense.Core.Normalized.Path, as: PathNormalized
9
+ require Logger
10
11
@type doc_t :: nil | false | String.t()
12
@type fun_doc_entry_t ::
@@ -305,6 +306,13 @@ defmodule ElixirSense.Core.Normalized.Code do
305
306
else
307
_ -> :error
308
end
309
+ catch
310
+ kind, reason ->
311
+ Logger.warning(
312
+ "Failed to fetch docs for #{inspect(module)}: #{Exception.format(kind, reason, __STACKTRACE__)}"
313
+ )
314
+
315
+ :error
316
317
318
@docs_chunk [?D, ?o, ?c, ?s]
0 commit comments