gitea api error show

This commit is contained in:
xxq250 2023-08-29 14:43:15 +08:00
parent 1d1d6ebda1
commit f47c4e4b9c
1 changed files with 1 additions and 0 deletions

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