##// END OF EJS Templates
scm: git: catch exception in model default_branch() (#8458, #6713)....
Toshi MARUYAMA -
r6100:ed37d8ed91c9
parent child
Show More
@@ -77,6 +77,9 class Repository::Git < Repository
77
77
78 def default_branch
78 def default_branch
79 scm.default_branch
79 scm.default_branch
80 rescue Exception => e
81 logger.error "git: error during get default branch: #{e.message}"
82 nil
80 end
83 end
81
84
82 def find_changeset_by_name(name)
85 def find_changeset_by_name(name)
General Comments 0
You need to be logged in to leave comments. Login now