edgi-govdata-archiving / web-monitoring-ui

UI to enable analysts to quickly assess changes to monitored government websites
GNU General Public License v3.0
37 stars 38 forks source link

Handle versions with no URL #1039

Closed Mr0grog closed 1 year ago

Mr0grog commented 1 year ago

We should never encounter any versions with null URLs in production, but we do occasionally have some bad data in staging. This adds a fallback to deal with the situation. (Ideally, there'd be a test, but I'm not bothering since we guarantee there will be a URL in production.)

Fixes #1038.