summaryrefslogtreecommitdiff
path: root/lib/oxidized/output
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/output')
-rw-r--r--lib/oxidized/output/git.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb
index f23b35a..b4fa4a8 100644
--- a/lib/oxidized/output/git.rb
+++ b/lib/oxidized/output/git.rb
@@ -34,6 +34,8 @@ class Git < Output
rescue Grit::NoSuchPathError
Repo.init_bare repo
retry
+ rescue Grit::Git::GitTimeout
+ Log.error "git timeout for #{file}"
end
end