From 7d75be76654dd573eafcc79d6ac1a2a0bb51a20b Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Wed, 28 Jun 2023 23:45:40 -0400 Subject: [PATCH] remove warning --- lib/absinthe/phase/parse.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/absinthe/phase/parse.ex b/lib/absinthe/phase/parse.ex index d1c0e25a42..a6a58a18b2 100644 --- a/lib/absinthe/phase/parse.ex +++ b/lib/absinthe/phase/parse.ex @@ -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 ""