Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alexvanolst
Copy link
Contributor

Resolves #2142

@ghostdogpr
Copy link
Member

The change breaks the tests “Invokes cleanups on interrupt“ in ZManagedSpec because they expect the old behavior. I think you can just adapt those tests.

Copy link
Member

@iravid iravid left a comment

Choose a reason for hiding this comment

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

Thanks @alexvanolst, this makes sense! Defect recovery should really be limited to sandbox/run/foldCauseM.

@ghostdogpr ghostdogpr merged commit 7191ae6 into zio:master Nov 4, 2019
@alexvanolst alexvanolst deleted the dont-ignore-die branch November 4, 2019 12:53
ghostdogpr pushed a commit to ghostdogpr/scalaz-zio that referenced this pull request Nov 5, 2019
* Ignore should not recover from unchecked exceptions

* Remove unused imports from ignore test

* Fix ZManaged tests relying on old .ignore behaviour

* Fix StreamSpec tests relying on old ZIO.ignore behaviour
Twizty pushed a commit to Twizty/zio that referenced this pull request Nov 13, 2019
* Ignore should not recover from unchecked exceptions

* Remove unused imports from ignore test

* Fix ZManaged tests relying on old .ignore behaviour

* Fix StreamSpec tests relying on old ZIO.ignore behaviour
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

Successfully merging this pull request may close these issues.

Ignore should not recover from unchecked exceptions

3 participants