Skip to content
Browse files

log grit error

  • Loading branch information...
1 parent d844c72 commit adb6f8a375a557c37c1287cfe82f77438dfdc1bf @kratob kratob committed Feb 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/models/repository.rb
View
3 app/models/repository.rb
@@ -75,7 +75,8 @@ def destroy_repository
def repo_exists?
@repo_exists ||= (repo && !repo.branches.empty?)
- rescue
+ rescue Exception => e
+ Rails.logger.info "Could not access repo: #{e.message}"
@repo_exists = false
end

0 comments on commit adb6f8a

Please sign in to comment.
Something went wrong with that request. Please try again.