forked from Gitlink/forgeplus
FIX log writing failed. xE6 from ASCII-8BIT to UTF-8
This commit is contained in:
parent
087ad08303
commit
61c8e41136
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue