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

Nonexistent alias used not handled gracefully #234

Open
HumbleDeer opened this issue Oct 14, 2022 · 0 comments
Open

Nonexistent alias used not handled gracefully #234

HumbleDeer opened this issue Oct 14, 2022 · 0 comments

Comments

@HumbleDeer
Copy link

HumbleDeer commented Oct 14, 2022

Describe the issue

When using raptoreum-cli about, one could expect info about the raptoreum-cli RPC client (such as info about the client's version, build, etcetera). If such a command exists, Aliases could be handled more gracefully.

If it does not exist, then this missing or nonexistent command being used could be handled more gracefully.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Run raptoreum-cli with the nonexistent alias/command about
    eg. raptoreum-cli about
  2. Observe output

Expected behaviour

Running raptoreum-cli about
should return

Command "about" not found. 
See "raptoreum-cli help" for available commands

Actual behaviour

Running raptoreum-cli about
instead returns

main
error code: -32601
error message:
Method not found

Screenshots.

image

What version of Raptoreum Core are you using?

Raptoreum Core RPC client version v1.3.17.00-42174d8

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

No branches or pull requests

1 participant