mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
迁移异常处理
This commit is contained in:
@@ -34,6 +34,9 @@ class Gitea::Repository::MigrateService < Gitea::ClientService
|
||||
response = post(url, request_params)
|
||||
|
||||
render_response(response)
|
||||
rescue => e
|
||||
puts "MigrateService error: #{e.message}"
|
||||
[500, e.message, ""]
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user