diff --git a/packages/indexer-common/src/subgraphs.ts b/packages/indexer-common/src/subgraphs.ts index 5ff375d41..53cf68bef 100644 --- a/packages/indexer-common/src/subgraphs.ts +++ b/packages/indexer-common/src/subgraphs.ts @@ -442,7 +442,7 @@ export class SubgraphFreshnessChecker { ]) // Return it early if query results contains errors - if (subgraphQueryResult.errors) { + if (subgraphQueryResult.errors || subgraphQueryResult.error) { return subgraphQueryResult }