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

RxCommand.createFromStream() emits a exception twice. #33

Closed
baku-apps opened this issue Dec 13, 2019 · 1 comment
Closed

RxCommand.createFromStream() emits a exception twice. #33

baku-apps opened this issue Dec 13, 2019 · 1 comment

Comments

@baku-apps
Copy link

    var command = RxCommand.createFromStream((_) {
      return Observable.just('test').map((rideMap) {
        throw Exception();
      });
    });

    command.thrownExceptions.listen((e) {
      print(e.toString()); //--> prints twice
    });

    command.execute();

This prints the exception twice. I would expect it to print it only once.

@escamoteur
Copy link
Collaborator

Thanks for reporting
Fixed in 4.3.4

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