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

Filter soap error by message, and ignore some rates error for ciirus #260

Merged
merged 4 commits into from
Aug 23, 2016

Conversation

keang
Copy link
Contributor

@keang keang commented Aug 23, 2016

No description provided.

@kkolotyuk
Copy link
Contributor

kkolotyuk commented Aug 23, 2016

👍
Just my curiosity: How many errors are still there during Ciirus sync process?

@@ -118,6 +124,12 @@ def fetch_security_deposit(property_id)
end
end

def ignorable_error(result)
return IGNORABLE_ERROR_MESSAGES.any? { |err_msg|
result.error&.data&.include? err_msg
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need the ampersand on result.error&.data right? The error is not successful, so there should be an error.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah true

@keang
Copy link
Contributor Author

keang commented Aug 23, 2016

Manageable.. i count 75 for the last days sync!

@rmascarenhas
Copy link
Contributor

👍

@keang keang merged commit 6a3bce5 into development Aug 23, 2016
@keang keang deleted the feature/expect_error branch August 23, 2016 10:26
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.

None yet

3 participants