Skip to content

Commit 5c48902

Browse files
author
Nicolas Rodriguez
committed
Backport patch #505
1 parent 66416b0 commit 5c48902

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: lib/redmine_git_hosting/gitolite_wrapper.rb

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ def resync_gitolite(action, object, options = {})
4343
rescue Rugged::NetworkError => e
4444
logger.error "Access denied for Gitolite Admin SSH Keys"
4545
logger.error(e.message)
46+
rescue Rugged::RepositoryError => e
47+
logger.error "Gitolite couldn't write to its admin repo copy"
48+
logger.error "Try recreating '#{gitolite_admin_dir}'"
49+
logger.error(e.message)
4650
else
4751
begin
4852
# Call our wrapper passing the GitoliteAdmin object

0 commit comments

Comments
 (0)