Browse Source

fix: contributor error rescue

tags/v4.0.0^2
yystopf 4 years ago
parent
commit
490957ec3b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/controllers/repositories_controller.rb

+ 2
- 0
app/controllers/repositories_controller.rb 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


Loading…
Cancel
Save