新增时向grimoirelab推送事件,异常处理,log
This commit is contained in:
parent
0725ef74de
commit
e92b288f41
|
@ -160,7 +160,7 @@ class IssueWebhookJob < ApplicationJob
|
||||||
"username": "#{user.login}"
|
"username": "#{user.login}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
puts "event_json:#{event_json.to_json}"
|
||||||
begin
|
begin
|
||||||
url = URI("http://117.50.185.50:80")
|
url = URI("http://117.50.185.50:80")
|
||||||
http = Net::HTTP.new(url.host, url.port)
|
http = Net::HTTP.new(url.host, url.port)
|
||||||
|
|
Loading…
Reference in New Issue