Closed yukibtc closed 1 year ago
If changes are too many to review, I'll split this PR in multiples PRs.
Thanks for this PR @yukibtc! No that's ok, was only 4 commits.
The change re: error propagation, is this to propagate error messages from the nostr-sdk library instead of having/creating our own? Seems to clean up the code a bit which is always nice!
Thanks for this PR @yukibtc! No that's ok, was only 4 commits.
The change re: error propagation, is this to propagate error messages from the nostr-sdk library instead of having/creating our own? Seems to clean up the code a bit which is always nice!
It's to avoid to use .unwrap()
that show errors with too much things.
In this way the errors will be more cleaned: Error: InvalidChar('y')
for example.
If I have time, I'll try to further improve display error messages.
Thanks for this PR @yukibtc! No that's ok, was only 4 commits. The change re: error propagation, is this to propagate error messages from the nostr-sdk library instead of having/creating our own? Seems to clean up the code a bit which is always nice!
It's to avoid to use
.unwrap()
that show errors with too much things. In this way the errors will be more cleaned:Error: InvalidChar('y')
for example.If I have time, I'll try to further improve display error messages.
As long as the user gets an error message that says what actually went wrong, it's all good to me. I'd say we can merge this now and make improvements later on if you want to
Yes, I'll open new PRs in the future :)
Yes, I'll open new PRs in the future :)
Allright, appreciate the PR and help with this project!
nostr-sdk
to 0.18.0vanity
command