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