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

fix(RegisterManager): handle error correctly #14183

Merged
merged 5 commits into from
Aug 22, 2024

Conversation

graham-chainlink
Copy link
Contributor

Currently, when something goes wrong in tx.CreateManager such as invalid sql constraint, the error returned is ignored. This PR checks the error returned from tx.CreateManager and return accordingly.

@graham-chainlink graham-chainlink requested review from a team as code owners August 21, 2024 14:22
@graham-chainlink graham-chainlink force-pushed the ggoh/handle-create-manager-error branch 2 times, most recently from ecbd87a to b56ce8f Compare August 21, 2024 14:49
eutopian
eutopian previously approved these changes Aug 22, 2024
@eutopian
Copy link
Contributor

Nice find!!

Currently, when something goes wrong in `tx.CreateManager` such as invalid sql, the error returned is ignored. We should handle the error and return accordingly.
@eutopian eutopian added this pull request to the merge queue Aug 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 22, 2024
@eutopian eutopian added this pull request to the merge queue Aug 22, 2024
Merged via the queue into develop with commit 35f68c8 Aug 22, 2024
134 of 135 checks passed
@eutopian eutopian deleted the ggoh/handle-create-manager-error branch August 22, 2024 14:27
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.

4 participants