fix: contributor error rescue

This commit is contained in:
yystopf 2022-01-20 09:41:25 +08:00
parent b1884d30d5
commit 490957ec3b
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ class RepositoriesController < ApplicationController
else
@contributors = Gitea::Repository::Contributors::GetService.call(@owner, @repository.identifier)
end
rescue
@contributors = []
end
def edit