新增时向grimoirelab推送事件,异常处理,log

This commit is contained in:
2023-02-16 16:07:51 +08:00
parent abef11f71c
commit d731cac280

View File

@@ -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)