Skip to content

Commit

Permalink
Fix cannot load nif error
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Sep 14, 2023
1 parent 440730b commit a9f6f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hnswlib_nif.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule HNSWLib.Nif do
case :erlang.load_nif(nif_file, 0) do
:ok -> :ok
{:error, {:reload, _}} -> :ok
{:error, reason} -> IO.puts("Failed to load nif: #{reason}")
{:error, reason} -> IO.puts("Failed to load nif: #{inspect(reason)}")
end
end

Expand Down

0 comments on commit a9f6f9d

Please sign in to comment.