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

Handle case when error occurs trying to write an attr_accessor value #82

Open
fractaledmind opened this issue Aug 3, 2023 · 0 comments

Comments

@fractaledmind
Copy link
Owner

Imagine a workflow step method that makes an API call to create a record in an external system:

def create_external_record
  self.external_record = ExternalClient.create(...)
end

Now, imagine that we get a timeout error when AcidicJob is trying to write the value to the Run#attr_accessors field.

In this case, the record is created in the external system, but we don't have a persisted copy of that record on our end.

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

1 participant