fix: contributor error rescue
This commit is contained in:
parent
b1884d30d5
commit
490957ec3b
|
@ -152,6 +152,8 @@ class RepositoriesController < ApplicationController
|
|||
else
|
||||
@contributors = Gitea::Repository::Contributors::GetService.call(@owner, @repository.identifier)
|
||||
end
|
||||
rescue
|
||||
@contributors = []
|
||||
end
|
||||
|
||||
def edit
|
||||
|
|
Loading…
Reference in New Issue