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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Error UX #2455

Open
appetrosyan opened this issue Jul 7, 2022 · 0 comments
Open

Better Error UX #2455

appetrosyan opened this issue Jul 7, 2022 · 0 comments
Assignees
Labels
good first issue Good for newcomers iroha2-dev The re-implementation of a BFT hyperledger in RUST UI Something about the interface

Comments

@appetrosyan
Copy link
Contributor

2022-07-07 11:09:49.711  INFO 781 --- [    Test worker] 馃惓 [hyperledger/iroha2:stable]           : Container hyperledger/iroha2:stable is starting: 9da2dc9f26de6590df44157b6f76d0a4b32b77e8deb616495663940b5713f0fd
2022-07-07 11:09:49.752  INFO 781 --- [ream-1662371293] j.c.s.i.testcontainers.IrohaContainer    : STDERR: thread 'main' panicked at 'OS can't spawn worker thread: Operation not permitted (os error 1)', /cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/blocking/pool.rs:264:29
2022-07-07 11:09:49.753  INFO 781 --- [ream-1662371293] j.c.s.i.testcontainers.IrohaContainer    : STDERR: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2022-07-07 11:09:49.751  INFO 781 --- [    Test worker] o.t.c.wait.strategy.HttpWaitStrategy     : /optimistic_kepler: Waiting for 60 seconds for URL: http://172.17.0.1:32775/status (where port 32775 maps to container port 8180)
2022-07-07 11:10:49.795 ERROR 781 --- [    Test worker] 馃惓 [hyperledger/iroha2:stable]           : Could not start container

is an example of a traceback that doesn't explain what went wrong, and the user is left guessing if this is even a configuration error or if Iroha cannot spawn at all, due to a conflict with the OS or permissions.

Printing the error traceback in such a case would be useful.

@appetrosyan appetrosyan added Bug Something isn't working iroha2-dev The re-implementation of a BFT hyperledger in RUST UI Something about the interface labels Jul 7, 2022
@appetrosyan appetrosyan added good first issue Good for newcomers and removed Bug Something isn't working labels Sep 1, 2022
@appetrosyan appetrosyan changed the title Ensure that failure to spawn a worker thread is followed up with a complete traceback. Better Error UX Sep 12, 2022
@appetrosyan appetrosyan self-assigned this Sep 12, 2022
@appetrosyan appetrosyan removed their assignment Sep 27, 2022
@appetrosyan appetrosyan self-assigned this Dec 15, 2022
@hyperledger hyperledger deleted a comment from Tohanich Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers iroha2-dev The re-implementation of a BFT hyperledger in RUST UI Something about the interface
Projects
None yet
Development

No branches or pull requests

2 participants