From 69da8b2bb5f7f5a45b15cfa9048894a81800504a Mon Sep 17 00:00:00 2001 From: Rico Moorman Date: Wed, 31 Oct 2018 17:24:11 +0100 Subject: [PATCH] Correct typo in error message This change corrects a small typo within the error that is being raised when a subscription's config function does return an unexpected value. --- lib/absinthe/phase/subscription/subscribe_self.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/absinthe/phase/subscription/subscribe_self.ex b/lib/absinthe/phase/subscription/subscribe_self.ex index 34c18d22e1..75dfb0ece5 100644 --- a/lib/absinthe/phase/subscription/subscribe_self.ex +++ b/lib/absinthe/phase/subscription/subscribe_self.ex @@ -77,7 +77,7 @@ defmodule Absinthe.Phase.Subscription.SubscribeSelf do raise """ Invalid return from config function! - Config function must returne `{:ok, config}` or `{:error, msg}`. You returned: + A config function must return `{:ok, config}` or `{:error, msg}`. You returned: #{inspect(val)} """