diff --git a/activesupport/lib/active_support/evented_file_update_checker.rb b/activesupport/lib/active_support/evented_file_update_checker.rb index d92f5c1dab..fc7fa20db5 100644 --- a/activesupport/lib/active_support/evented_file_update_checker.rb +++ b/activesupport/lib/active_support/evented_file_update_checker.rb @@ -45,6 +45,10 @@ def initialize(files, dirs = {}, &block) ObjectSpace.define_finalizer(self, @core.finalizer) end + def inspect + "# ex - result_writer.write(ex.class.name) + result_writer.write("#{ex.class.name}: #{ex.message}") raise ensure result_writer.close