lib/Breinify.rb in Breinify-0.1.0 vs lib/Breinify.rb in Breinify-0.1.1
- old
+ new
@@ -181,10 +181,10 @@
request.body = data.to_json
@@logger.debug 'JSON data is: ' + data.to_json.to_s
# Send the request
response = http.request(request)
- @@logger.debug 'response from call is: ' + response
+ @@logger.debug 'response from call is: ' + response.to_s
rescue Exception => e
@@logger.debug 'Exception caught: ' + e.message
@@logger.debug ' Backtrace is: ' + e.backtrace.inspect
return