Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/gitlab/git.rake')
-rw-r--r--lib/tasks/gitlab/git.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/git.rake b/lib/tasks/gitlab/git.rake
index 9c5549b4a54..8587ef4afdb 100644
--- a/lib/tasks/gitlab/git.rake
+++ b/lib/tasks/gitlab/git.rake
@@ -9,7 +9,7 @@ namespace :gitlab do
begin
project.repository.fsck
- rescue => e
+ rescue StandardError => e
failures << "#{project.full_path} on #{project.repository_storage}: #{e}"
end
@@ -51,7 +51,7 @@ namespace :gitlab do
next unless project.repo_exists?
result = project.repository.checksum
- rescue => e
+ rescue StandardError => e
result = "Ignored error: #{e.message}".squish.truncate(255)
ensure
puts "#{project.id},#{result}"