Skip to content

Commit

Permalink
Fix codegen when abi is not valid (#1570)
Browse files Browse the repository at this point in the history
* Fix codegen when abi is not valid

* Update packages/cli/src/controller/codegen-controller.ts

Co-authored-by: Scott Twiname <[email protected]>

---------

Co-authored-by: Scott Twiname <[email protected]>
  • Loading branch information
jiqiang90 and stwiname authored Mar 20, 2023
1 parent 7787140 commit 52c3ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/controller/codegen-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export async function generateAbis(datasources: DatasourceKind[], projectPath: s
})
);
} catch (e) {
throw new Error(`When render abi interface having problems.`);
console.error(`! Unable to generate abi interface. ${e.message}`);
}
}
}
Expand Down

0 comments on commit 52c3ad9

Please sign in to comment.