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

Give errors to Oban as 2 tuples #305

Merged

Conversation

seth-schroeder
Copy link
Contributor

@seth-schroeder seth-schroeder commented Jun 13, 2023

Please note

This is a subset of #306

What issue does this PR close

Closes #304

Changes Proposed ( a list of new changes introduced by this PR)

Return 2 tuple errors to Oban. 4 tuple errors are generated when Multi.new is upstream of Repo.transaction.

How to test ( a list of instructions on how to test this PR)

Existing unit test coverage. They passed for me locally, after running mix format and mix credo.

Please note

I am submitting two versions of this change. This PR addresses the error handling. The next PR will have that, and it will include the credo check.

@lucca65 lucca65 merged commit d8eef53 into cambiatus:master Jul 11, 2023
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.

[BUG] minor issue with error handling in two Oban jobs
2 participants