collectiveidea / interactor

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

Error value is unexpected (stringified interactor) and unusable #212

Closed benlieb closed 1 year ago

benlieb commented 1 year ago

Not sure this is the expected behavior, but my error attribute is coming out as the whole stringified context. When I set the same values to a different property, I get the values I expect:

image

Getting the test/error:

image

Am I not supposed to access the error directly outside from the result?

benlieb commented 1 year ago

It's because I was stupidly rescuing StandardError in my Interactor...