collectiveidea / interactor

Interactor provides a common interface for performing complex user interactions.
MIT License
3.36k stars 212 forks source link

Call not swallowing exceptions #166

Closed TrevorHinesley closed 4 years ago

TrevorHinesley commented 5 years ago

Per the documentation:

This works because the call class method swallows exceptions.

Unless I'm missing something, any errors should be swallowed by call, but they're being raised for me unless I manually catch the error inside call and throw it with fail!

joevandyk commented 5 years ago

Only Interactor::Failure exceptions are automatically caught. Docs could probably be updated to read “these exceptions” to be clearer.