Commit 3c499cba authored by Robert Speicher's avatar Robert Speicher

Merge branch 'fix-geo-repository-sync-service' into 'master'

Geo - Fix log message when trying to sync a project with invalid id

Closes #2784

See merge request !2294
parents 2d1be687 b80fad17
......@@ -17,7 +17,7 @@ module Geo
log('Finished repository sync')
end
rescue ActiveRecord::RecordNotFound
logger.error("Couldn't find project with ID=#{project_id}, skipping syncing")
Rails.logger.error("#{self.class.name}: Couldn't find project with ID=#{project_id}, skipping syncing")
end
private
......
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