lib/fluent/plugin/festival_proxy.rb in fluent-plugin-festival-0.0.5 vs lib/fluent/plugin/festival_proxy.rb in fluent-plugin-festival-0.0.6
- old
+ new
@@ -24,10 +24,10 @@
@https.finish() if @https.active?
end
def error_handler(response, message)
if response.code != "200"
- log.error :error => message
+ log.error error: message
log.debug "code: #{response.code}"
log.debug "message: #{response.message}"
log.debug "body: #{response.body}"
return false
end