mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增时向grimoirelab推送事件,异常处理,log
This commit is contained in:
@@ -160,7 +160,7 @@ class IssueWebhookJob < ApplicationJob
|
||||
"username": "#{user.login}"
|
||||
}
|
||||
}
|
||||
|
||||
puts "event_json:#{event_json.to_json}"
|
||||
begin
|
||||
url = URI("http://117.50.185.50:80")
|
||||
http = Net::HTTP.new(url.host, url.port)
|
||||
|
||||
Reference in New Issue
Block a user