mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-16 23:18:56 +08:00
FIX log writing failed. xE6 from ASCII-8BIT to UTF-8
This commit is contained in:
@@ -194,7 +194,7 @@ class Gitea::ClientService < ApplicationService
|
||||
|
||||
def log_error(status, body)
|
||||
puts "[gitea] status: #{status}"
|
||||
puts "[gitea] body: #{body}"
|
||||
puts "[gitea] body: #{body&.force_encoding('UTF-8')}"
|
||||
end
|
||||
|
||||
def fix_body(body)
|
||||
|
||||
Reference in New Issue
Block a user