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

spider: Write errors to database #44

Merged
merged 1 commit into from
Jun 26, 2020
Merged

spider: Write errors to database #44

merged 1 commit into from
Jun 26, 2020

Conversation

odscjames
Copy link
Collaborator

#3

@odscjames odscjames self-assigned this Jun 25, 2020
url TEXT NOT NULL,
error TEXT NOT NULL,
error_at TIMESTAMP WITHOUT TIME ZONE NOT NULL default (now() at time zone 'utc'),
found_via JSON NOT NULL
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't we want a fk here to the publisher?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Because it might be an error at the level of getting a data catalogue, and at that point there is no publisher. Also even an error when parsing a publisher would result in no publisher being written.

@michaelwood michaelwood self-requested a review June 26, 2020 08:37
@odscjames odscjames merged commit 31d5016 into master Jun 26, 2020
@odscjames odscjames deleted the 3-spider-errors branch June 26, 2020 09:09
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