Skip to content

raise SecondaryNotConfigured if Geo DB is not found

Brett Walker requested to merge bw-sha-attribute-geo-fix into master

What does this MR do?

For the Geo tracking database, captures the ActiveRecord::NoDatabaseError and raises a Geo::TrackingBase::SecondaryNotConfigured instead

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

When setting up a fresh Geo install using the GDK, make geo-setup was causing ShaAttribute to blow up when the tracking database was not found yet, which make geo-setup was in the middle of creating.

See gitlab-development-kit#373 (closed)

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

gitlab-development-kit#373 (closed)

Merge request reports