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

Create test case for resending same action #376

Open
marcelomorgado opened this issue May 2, 2019 · 0 comments
Open

Create test case for resending same action #376

marcelomorgado opened this issue May 2, 2019 · 0 comments
Labels
tech debt Technical debt not involving bugs or features
Milestone

Comments

@marcelomorgado
Copy link
Contributor

@marcelomorgado asked:

Hmmm, something like that?

action.on("error", error => {
  action.send();
});

@pcowgill responded:

This example is simple, which is good for understanding. But it's so simple that it makes it seem unrealistic that a user would want to do this.

Maybe more realistically, they repair something about the action object using a function that parses error type and updates the action stored in redux based on what was wrong, let's say gas settings.

Then it resends the action after that's done.

Extracted from: #368

@marcelomorgado marcelomorgado added the tech debt Technical debt not involving bugs or features label May 2, 2019
@marcelomorgado marcelomorgado added this to the 0.2.0 release milestone May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech debt Technical debt not involving bugs or features
Projects
None yet
Development

No branches or pull requests

1 participant