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

chore: improve CLI error handling #669

Merged
merged 2 commits into from
Apr 26, 2022
Merged

chore: improve CLI error handling #669

merged 2 commits into from
Apr 26, 2022

Conversation

blckngm
Copy link
Contributor

@blckngm blckngm commented Apr 22, 2022

Now:

Error: config backends

Caused by:
    0: load validator from /scripts/godwoken-scripts/meta-contract-validator.invalid
    1: No such file or directory (os error 2)

Previously:

thread 'main' panicked at 'run cli: config backends

Caused by:
    No such file or directory (os error 2)', crates/block-producer/src/main.rs:136:21
stack backtrace:
...
[very long stacktrace that is not useful because the panic always happens in main]
...

@jjyr jjyr merged commit 4067b0c into develop Apr 26, 2022
@jjyr jjyr deleted the cli-improve-error-handling branch April 26, 2022 06:43
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.

3 participants