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

rpc: respond with a meaningful error message #168

Closed
kilrau opened this issue Jun 27, 2024 · 0 comments · Fixed by #216
Closed

rpc: respond with a meaningful error message #168

kilrau opened this issue Jun 27, 2024 · 0 comments · Fixed by #216
Labels
enhancement New feature or request

Comments

@kilrau
Copy link
Member

kilrau commented Jun 27, 2024

Would be nice to have the rpc server responding with a nicer error message like "Connect/unlock your Lightning node first" here:

Jun 27 11:50:58 K-Yoga boltzd[26233]: 2024-06-27 11:50:58.715 [ERROR] Could not get lightning info: rpc error: code = Unknown desc = wallet locked, unlock it to enable full RPC access
Jun 27 11:50:58 K-Yoga boltzd[26233]: 2024-06-27 11:50:58.715 [INFO ] Retrying in 15 seconds
kilrau@K-Yoga:~/.boltz$ boltzcli getinfo
could not connect to boltzd. make sure it is running at 127.0.0.1:9002 and try again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant