Browse Source

gitea api error show

pull/343/head
xxq250 2 years ago
parent
commit
f47c4e4b9c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/services/gitea/client_service.rb

+ 1
- 0
app/services/gitea/client_service.rb View File

@@ -256,6 +256,7 @@ class Gitea::ClientService < ApplicationService
end

def error(message, http_status = nil)
Rails.logger.error("@url==#{@url}==error:#{message}")
result = {
message: message,
status: :error


Loading…
Cancel
Save