Skip to content

Commit 07afa2c

Browse files
Update lib/elixir/lib/exception.ex
Co-authored-by: José Valim <[email protected]>
1 parent 886ba53 commit 07afa2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/exception.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,7 @@ defmodule Protocol.UndefinedError do
20012001
value_type(value) <> maybe_description(description) <> maybe_available(protocol)
20022002
end
20032003

2004-
defp value_type(%{__struct__: struct}), do: "#{inspect(struct, pretty: true)} (a struct)"
2004+
defp value_type(%{__struct__: struct}), do: "#{inspect(struct)} (a struct)"
20052005
defp value_type(value) when is_atom(value), do: "Atom"
20062006
defp value_type(value) when is_bitstring(value), do: "BitString"
20072007
defp value_type(value) when is_float(value), do: "Float"

0 commit comments

Comments
 (0)