Skip to content

add try catch to JSON parse with a nice error message#1

Open
ethereumdegen wants to merge 1 commit intoteller-protocol:masterfrom
ethereumdegen:master
Open

add try catch to JSON parse with a nice error message#1
ethereumdegen wants to merge 1 commit intoteller-protocol:masterfrom
ethereumdegen:master

Conversation

@ethereumdegen
Copy link

Now, if the plugin fails to parse a JSON file (deployments files) such as due to LFS, the error message will be very obvious and easy to read such as :

Failed to parse /home/andy/teller/v2-pilot/packages/hardhat-ts/deployments/rinkeby/TellerV2_Implementation.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments