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

[Lightnet] Better errors handling #544

Closed
shimkiv opened this issue Dec 18, 2023 · 2 comments · Fixed by #597
Closed

[Lightnet] Better errors handling #544

shimkiv opened this issue Dec 18, 2023 · 2 comments · Fixed by #597

Comments

@shimkiv
Copy link
Member

shimkiv commented Dec 18, 2023

Even though we have the --debug option to print the underlying commands execution stdout/stderr, it will be much better to explain what went wrong to the end used upon their first failure to not ask them repeat such commands again. Alongside with the error message we also need to print the underlying commands used.
For example, if zk lightnet start fails it will be good to see the exact docker run command in use as well as the actual failure reason (resources issues, ports already in use, etc.).

@shimkiv
Copy link
Member Author

shimkiv commented Feb 22, 2024

Detect ports unavailability and notify users accordingly. Or make it run on any random ports available.

@shimkiv
Copy link
Member Author

shimkiv commented Feb 22, 2024

Detect resources issues (not enough RAM, CPU, Disk Space).

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

Successfully merging a pull request may close this issue.

1 participant