From 8e5a1a148927e4fcff07b166285eb4dc60f1e264 Mon Sep 17 00:00:00 2001 From: Khuda Dad Nomani <32505158+KhudaDad414@users.noreply.github.com> Date: Wed, 15 Nov 2023 10:57:57 +0000 Subject: [PATCH] Update src/lib/functions.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fran Méndez --- src/lib/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/functions.ts b/src/lib/functions.ts index 5221bd923..cce1c2a51 100644 --- a/src/lib/functions.ts +++ b/src/lib/functions.ts @@ -208,7 +208,7 @@ function createReply(functionReply: GleeFunctionReturnReply, message: GleeMessag } const channel = parsedAsyncAPI.allChannels().filter((c) => c.address === channelAddress)[0] if (!channel) { - throw Error(`cannot find a channel with the address of "${channelAddress}" in your AsyncAPI file.`) + throw Error(`Cannot find a channel with the address "${channelAddress}" in your AsyncAPI file.`) } replyChannel = channel }