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

1.x: fix assembly tracking replacing original exception #4215

Merged
merged 2 commits into from
Jul 20, 2016

Conversation

akarnokd
Copy link
Member

Modify the assembly tracking logic to not replace the exception flowing through but to attach the tracking exception to the end of the causal chain (if possible).

Fixes #4212

@codecov-io
Copy link

codecov-io commented Jul 19, 2016

Current coverage is 84.27%

Merging #4215 into 1.x will increase coverage by 0.02%

@@                1.x      #4215   diff @@
==========================================
  Files           265        265          
  Lines         17281      17305    +24   
  Methods           0          0          
  Messages          0          0          
  Branches       2617       2624     +7   
==========================================
+ Hits          14558      14583    +25   
+ Misses         1881       1873     -8   
- Partials        842        849     +7   

Powered by Codecov. Last updated by 65c7070...4853282

@stevegury
Copy link
Member

👍

* Finds an empty cause slot and assigns itself to it.
* @param exception the exception to start from
*/
public void attach(Throwable exception) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

attachTo, otherwise it looks like you're attaching exception to this while in fact it's vice versa

@artem-zinnatullin
Copy link
Contributor

👍

@akarnokd akarnokd closed this Jul 20, 2016
@akarnokd akarnokd reopened this Jul 20, 2016
@akarnokd akarnokd merged commit a45de22 into ReactiveX:1.x Jul 20, 2016
@akarnokd akarnokd deleted the AssemblyTrackingDontHideException branch July 20, 2016 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants