lib/contrast/utils/io_util.rb in contrast-agent-4.6.0 vs lib/contrast/utils/io_util.rb in contrast-agent-4.7.0
- old
+ new
@@ -18,10 +18,10 @@
return true if potential_io.is_a?(StringIO)
return false unless io?(potential_io)
should_rewind_io?(potential_io)
rescue StandardError => e
- logger.debug('Encountered an issue determining if rewindable', e, module: potential_io.cs__class.name)
+ logger.debug('Encountered an issue determining if rewindable', e, module: potential_io.cs__class.cs__name)
false
end
# IO cannot be used with streams such as pipes, ttys, and sockets.
def self.should_rewind_io? io