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

Set error_code on Trilogy::TimeoutError #69

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

adrianna-chang-shopify
Copy link
Collaborator

I mistakenly removed the constructor that sets error_code on Trilogy::TimeoutError in #63. I thought that since it was a syscall error, we'd never set an error code on timeout errs, but we do raise a TimeoutError with an error code here.

Copy link
Member

@eileencodes eileencodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this fixes the issue on the Rails side.

@adrianna-chang-shopify adrianna-chang-shopify merged commit 8e4ae98 into main Apr 19, 2023
@adrianna-chang-shopify adrianna-chang-shopify deleted the ac-fix-timeout-err-error-code branch April 19, 2023 20:41
eileencodes added a commit to eileencodes/rails that referenced this pull request Apr 20, 2023
Until we do a new release we need to run against main on trilogy to get
the latest changes from trilogy-libraries/trilogy#69
eileencodes added a commit to rails/rails that referenced this pull request Apr 21, 2023
Until we do a new release we need to run against main on trilogy to get
the latest changes from trilogy-libraries/trilogy#69
danielvdao pushed a commit to danielvdao/rails that referenced this pull request May 1, 2023
Until we do a new release we need to run against main on trilogy to get
the latest changes from trilogy-libraries/trilogy#69
danielvdao pushed a commit to danielvdao/rails that referenced this pull request May 1, 2023
Until we do a new release we need to run against main on trilogy to get
the latest changes from trilogy-libraries/trilogy#69
danielvdao pushed a commit to danielvdao/rails that referenced this pull request May 1, 2023
Until we do a new release we need to run against main on trilogy to get
the latest changes from trilogy-libraries/trilogy#69
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.

2 participants