打印信息
This commit is contained in:
parent
fdd47ff8e1
commit
e41cfa241d
|
@ -668,6 +668,7 @@ module ProjectsHelper
|
||||||
response = http.start { |http| http.request(request) }
|
response = http.start { |http| http.request(request) }
|
||||||
response = ActiveSupport::JSON.decode(response.body)
|
response = ActiveSupport::JSON.decode(response.body)
|
||||||
Rails.logger.info("#############response: #{response}")
|
Rails.logger.info("#############response: #{response}")
|
||||||
|
response
|
||||||
rescue =>err
|
rescue =>err
|
||||||
Rails.logger.error("#############send_error: #{err.message}")
|
Rails.logger.error("#############send_error: #{err.message}")
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue