Skip to content

Define event_url prior to referencing it#68

Merged
fgregg merged 1 commit intomasterfrom
event_url_fix
Apr 19, 2018
Merged

Define event_url prior to referencing it#68
fgregg merged 1 commit intomasterfrom
event_url_fix

Conversation

@hancush
Copy link
Copy Markdown
Collaborator

@hancush hancush commented Apr 19, 2018

We lost the definition of events_url when we broke out api_events. This defines an event_url in the case where we can't find an event in the web interface, squashing https://sentry.io/datamade/scrapers-us-municipal/issues/531815553/

@hancush hancush requested a review from fgregg April 19, 2018 15:05
Copy link
Copy Markdown
Contributor

@fgregg fgregg left a comment

Choose a reason for hiding this comment

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

This seems like a fine fix. I wonder, if we might think about event (and other objects) knowing about their own url.

@fgregg fgregg merged commit 87e11ce into master Apr 19, 2018
@hancush
Copy link
Copy Markdown
Collaborator Author

hancush commented Apr 19, 2018

@fgregg, I agree, I'll open an issue!

@fgregg fgregg mentioned this pull request Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants