Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 02a3dcb

Browse files
fix: ignore certain graphql error
1 parent dc59654 commit 02a3dcb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/graphql-api/client.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ export function doQuery(
6262
.catch((e) => {
6363
console.log("exception when querying the GraphQL API");
6464
console.log(e);
65-
rollbarLogger(e, { variables });
65+
// ignore user-not-logged errors
66+
if (!e.message.includes("user-not-logged")) {
67+
rollbarLogger(e, { variables });
68+
}
6669
return undefined;
6770
});
6871
return query;

0 commit comments

Comments
 (0)