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