lib/fluent/plugin/td_plugin_util.rb in fluent-plugin-td-0.10.21 vs lib/fluent/plugin/td_plugin_util.rb in fluent-plugin-td-0.10.22
- old
+ new
@@ -51,10 +51,10 @@
@table_list[key] = true
rescue TreasureData::NotFoundError
args = self.class == TreasureDataItemOutput ? ' -t item' : ''
raise "Table #{key.inspect} does not exist on Treasure Data. Use 'td table:create #{database} #{table}#{args}' to create it."
rescue => e
- log.warn "failed to check table existence on Treasure Data", :error => e.to_s
+ log.warn "failed to check table existence on Treasure Data", :error => e.inspect
log.debug_backtrace e
end
end
end