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

refactor: error messaging #309

Open
AlexD10S opened this issue Sep 13, 2024 · 0 comments
Open

refactor: error messaging #309

AlexD10S opened this issue Sep 13, 2024 · 0 comments
Labels
contracts Features related to smart contracts refactor Refactor of code

Comments

@AlexD10S
Copy link
Collaborator

As pointed out by @brunopgalvao in his review #306 (review), some error messages are displayed awkwardly to the user.
For example:

┌   Pop CLI : Call a contract
│
◇  Where is your project located?
│  ./
│
◇  Paste the on-chain contract address:
│  5DYs7UGBm2LuX4ryvyqfksozNAW5V47tPbGiVgnjYWCZ29bt
│
└  Unable to fetch contract metadata.
Error: Anyhow error: Cannot infer the root project id

Let's review all commands and ensure the error messages are displayed in a clear and user-friendly manner, customizing them where necessary.

@AlexD10S AlexD10S added contracts Features related to smart contracts refactor Refactor of code labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contracts Features related to smart contracts refactor Refactor of code
Projects
None yet
Development

No branches or pull requests

1 participant