打印信息

This commit is contained in:
cxt 2019-07-27 17:05:45 +08:00
parent fdd47ff8e1
commit e41cfa241d
1 changed files with 1 additions and 0 deletions

View File

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