Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
incrypto32 committed Feb 10, 2025
1 parent 2d6a7a9 commit dbaea17
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/cli/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1251,9 +1251,6 @@ async function initSubgraphFromContract(
const schema = await Schema.loadFromString(schemaString);
entities = schema.getEntityNames();
} catch (e) {
if (e instanceof Error) {
print.error(`Failed to validate subgraph: ${e?.message}`);
}
this.error(`Failed to load and parse subgraph schema: ${e.message}`, { exit: 1 });
}
}
Expand Down
Empty file.

0 comments on commit dbaea17

Please sign in to comment.