Skip to content

Commit

Permalink
remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
benwilson512 committed Jun 29, 2023
1 parent ddd2a31 commit 7d75be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/absinthe/phase/parse.ex
Expand Up @@ -117,7 +117,7 @@ defmodule Absinthe.Phase.Parse do
@spec format_raw_parse_error(map) :: Phase.Error.t()
defp format_raw_parse_error(%{} = error) do
detail =
if Exception.exception?(error) do
if is_exception(error) do
": " <> Exception.message(error)
else
""
Expand Down

0 comments on commit 7d75be7

Please sign in to comment.