-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Receptor prints Python tracebacks when it ought to print human-friendly error messages #219
Comments
There are several related problems here. The reason "receptor status" failed is that it has to start an ephemeral node to communicate with the Receptor mesh (problem 1), so it tried to store its manifest data under Taking these problems one at a time:
@elyezer, can you clarify which of these problems you mean for this issue card to track? |
@ghjm it seems that problem 3, maybe also 4, would be a great candidate here. Usually it is not a great experience to try things and get all these stacktraces as the output. About problem 2, we have a separate issue ansible/receptor#195. |
@ghjm sure thing, I will edit a bit the description to reflect the intents here. |
In general, receptor prints raw stacktraces when it finds an error while running the CLI. Considering
receptor status
as an example here.Help message of
receptor status
does not show any required argument:But when we try to run it without any option it raises the following:
It is expected that the status would just work when run without any option by either just working or providing a meaningful message why it was not able to run.
In the above example I had nodes running on ports 9999 and 9998, that said it probably failed because it tried to connect to the default
localhost:8888
but hasn't found anything running there.The text was updated successfully, but these errors were encountered: