mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
fix: contributor error rescue
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user