-
Notifications
You must be signed in to change notification settings - Fork 570
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
[1] Failed to broadcast the transaction: bitshares-crypto digest #342
Comments
Display an appropriate error message for this raw message: "You are not approved to trade on this market" I'm open to suggestions on the proper wording for this particular error. |
@wmbutler I'm not talking about a special case, but a common one. Some messages returned by the backend can be shown on UI directly, for example, insufficient balance. Sometimes there are detailed messages, sometimes with error codes. I admit that not all errors come with a message, but it can be fixed in backend. |
Each Message needs a clear plain text message that the end user can understand. Additionally, the user should be able to look at the console for the more technical message. Sounds like we need a crosswalk of json messages to plaintext messages. |
That's why there are error codes. We can have a table, no need to fix every single issue. |
So, you'd like this to be displayed in a location visible to the end user?
And we can leave the crypto-digest message in the console? |
Yes, something like this. |
Bill to review various errors, error codes and plaintext messages and work out a place to display these errors. |
Are there error codes broadcast by bitshares-core? Can't remember seeing any. I'm not sure what's changed here, as far as I can see the error coming from the API has been treated the same for ever, at least all of 2017, from TransactionConfirmActions.jsx:
I can change it to just use the first part of the error, which is the assert exception. |
We used to be able to know the exact error message when failed to broadcast a transaction from the GUI. But now:
How to reproduce: try to place an order in ICOWT/BTS market pair, if you're not whitelisted.
In the console we can still see the error message:
But the first line is not shown in GUI.
I'm not sure if it's caused by a node API change. Also reported here: bitshares/bitshares-core#382
The text was updated successfully, but these errors were encountered: