hotfix: graphql connection error handler (#4523)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
@@ -224,7 +224,10 @@ watch(
|
||||
watch(
|
||||
() => connection,
|
||||
(newVal) => {
|
||||
if (newVal.error && newVal.state === "DISCONNECTED") {
|
||||
if (
|
||||
newVal.error &&
|
||||
(newVal.state === "DISCONNECTED" || newVal.state === "ERROR")
|
||||
) {
|
||||
const response = [
|
||||
{
|
||||
type: "error",
|
||||
|
||||
Reference in New Issue
Block a user