Skip to content
Snippets Groups Projects
Unverified Commit b7c7c0db authored by Sean Hatfield's avatar Sean Hatfield Committed by GitHub
Browse files

Add more verbose error messages in embed chat (#2306)


* publish embed updates

* server sided error messages

* publish embed chat widget

* sync submodule

* unset change

* update embed to merged changes for error

---------

Co-authored-by: default avatartimothycarambat <rambat1010@gmail.com>
parent b25298c0
No related branches found
No related tags found
No related merge requests found
Subproject commit 22a0848d58e3a758d85d93d9204a72a65854ea94 Subproject commit 6bd51d251ff1b204d7d88cdda0061df00676386e
This diff is collapsed.
...@@ -122,7 +122,8 @@ async function canRespond(request, response, next) { ...@@ -122,7 +122,8 @@ async function canRespond(request, response, next) {
textResponse: null, textResponse: null,
sources: [], sources: [],
close: true, close: true,
error: error: "Rate limit exceeded",
errorMsg:
"The quota for this chat has been reached. Try again later or contact the site owner.", "The quota for this chat has been reached. Try again later or contact the site owner.",
}); });
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment