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 Send API failure #23

Open
deweller opened this issue Nov 4, 2015 · 1 comment
Open

Handle Send API failure #23

deweller opened this issue Nov 4, 2015 · 1 comment

Comments

@deweller
Copy link
Contributor

deweller commented Nov 4, 2015

Sometimes the SoChain API call will fail. When this happens, the send stalls on Sending... and provides no further user feedback.

It would be helpful to catch the javascript error or failed AJAX call and display an error to the user to let them know their transactions wasn't sent.

Here is a screenshot of my error console after the failed send:
send_tokens_from_tokenly_pockets

@loon3
Copy link
Owner

loon3 commented Nov 4, 2015

added xhr.onerror handler in a802203, should solve the stalling issue

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

2 participants