Skip to content

Commit

Permalink
Update src/lib/functions.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Fran Méndez <[email protected]>
  • Loading branch information
KhudaDad414 and fmvilas authored Nov 15, 2023
1 parent 02555cb commit 8e5a1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8e5a1a1

Please sign in to comment.