Commit c5c272dc authored by Dan Jensen's avatar Dan Jensen Committed by Ash McKenzie

Add helpful details to fixture error message

The database fixtures for development can fail when the database is
being re-created without having deleted the old repositories from
Gitaly. This expands the error message to provide a hint about how
to fix that.
parent 1eabb447
...@@ -66,6 +66,8 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests ...@@ -66,6 +66,8 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests
merge_request merge_request
end end
rescue AccessDeniedError
raise AccessDeniedError.new("If you are re-creating your GitLab database, you should also delete your old repositories located at $GDK/repositories/@hashed")
end end
def create_pipeline!(project, ref, commit, status) def create_pipeline!(project, ref, commit, status)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment