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

feed fetch errors create issues #844

Merged
merged 11 commits into from
Nov 18, 2016
Merged

feed fetch errors create issues #844

merged 11 commits into from
Nov 18, 2016

Conversation

doublestranded
Copy link
Contributor

closes #820

@@ -47,6 +48,8 @@ def self.fetch_and_return_feed_version(feed)
fetch_exception_log << e.backtrace.join("\n")
end
log fetch_exception_log, level=:error
Issue.create!(issue_type: 'feed_fetch_error', details: fetch_exception_log)
.entities_with_issues.create!(entity: feed, entity_attribute: "url")
ensure
feed.update(
latest_fetch_exception_log: fetch_exception_log,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Remove this.

@doublestranded doublestranded merged commit f4b2f38 into master Nov 18, 2016
@doublestranded doublestranded deleted the feed-fetch-issues branch November 18, 2016 23:26
@irees irees mentioned this pull request Nov 21, 2016
2 tasks
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.

Save Feed fetch errors as issues
1 participant