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

RPCError #286

Open
shawnpringle opened this issue Apr 16, 2019 · 0 comments
Open

RPCError #286

shawnpringle opened this issue Apr 16, 2019 · 0 comments

Comments

@shawnpringle
Copy link

Version of Python you are running

3.6.8

Version of steem-python you are running

no idea (how can I tell?)

Expected Behavior

I expected some kind of an error message, but I don't know exactly. There's no documentation for exceptional circumstances. Document your intentions and we will have expectations. The error message asks me to report this as an error here, so I guess there is something wrong.

Actual Behavior

Unexpected exception! Please report at https://github.com/steemit/steem-python/issues -- RPCError: tx_missing_posting_auth from api.steemit.com (missing required posting authority:Missing Posting Authority leprechaun) in verify_authority
failing on tx_missing_posting_auth from api.steemit.com (missing required posting authority:Missing Posting Authority leprechaun) in verify_authority
tx_missing_posting_auth from api.steemit.com (missing required posting authority:Missing Posting Authority leprechaun) in verify_authority

Steps to reproduce

Too much to post here. You could probably reproduce this by doing a follow operation with a valid WIF key but not the one that corresponds to the user given for the blockchain you are using.

Desired Behavior

Exceptions should be able to communicate things to the program not just an error string to the user. It would be nice if there were sub-classes of RPCError. Such that there would be one class for each type of RPC-Error and documentation describing all of the sub-classes and what they mean.

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