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

Handle Unsubscription Errors and Process Accordingly #74

Open
MathNodes opened this issue Dec 19, 2023 · 1 comment
Open

Handle Unsubscription Errors and Process Accordingly #74

MathNodes opened this issue Dec 19, 2023 · 1 comment
Assignees
Labels
error handling ui user interface
Milestone

Comments

@MathNodes
Copy link
Owner

MathNodes commented Dec 19, 2023

There are two messages for when and unsubscription does not work and currently it spits out the long TX Message which is unintelligible to the average user.

Here are the two known responses from failed unsubs:

Image
Image

The following messages should appear in respective order:

  1. gRPC query timeout. Failed to broadcast message to server
  2. Pending session currently on blockchain. Please try your request again later.

These response can be handled in widgets.py

TXDialog.ids.message.text = unsub_value['message']

@MathNodes MathNodes added this to the Meile v2.0.0 milestone Dec 19, 2023
@MathNodes MathNodes added ui user interface error handling labels Dec 19, 2023
@MathNodes
Copy link
Owner Author

MathNodes commented Jan 19, 2024

The error messages reported to the user should be in line with the above screenshots:

  1. "Error connecting to gRPC server. Try your request again later."
  2. "Cannot unsubscribe. Pending session still on blockchain. Try your request again later."

Tkd-Alex added a commit to Tkd-Alex/meile-gui that referenced this issue Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error handling ui user interface
Projects
Status: In Progress
Development

No branches or pull requests

3 participants