Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: report path on failed abigen load #205

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

prestwich
Copy link
Collaborator

This PR improves an error message by printing the path that the abigen macro tries to read whenever it fails to do so. This error is triggered when the path does not exist or does not contain valid JSON

I'm unsure the best way to write automated tests for this, but I have confirmed it works great locally by pointing it at ../

@prestwich prestwich added the enhancement New feature or request label Feb 22, 2021
@gakonst gakonst merged commit 3e5f7a7 into master Feb 22, 2021
@gakonst gakonst deleted the prestwich/report-abigen-path branch February 22, 2021 18:35
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants